class Rails::Initializable::Initializer
def after
def after @options[:after] end
def before
def before @options[:before] end
def bind(context)
def bind(context) return self if @context Initializer.new(@name, context, @options, &block) end
def initialize(name, context, options, &block)
def initialize(name, context, options, &block) @name, @context, @options, @block = name, context, options, block end
def run(*args)
def run(*args) @context.instance_exec(*args, &block) end