edge badge
Methods
C
I
M
R
Instance Public methods
configure(&block)
# File railties/lib/rails/railtie/configurable.rb, line 23
def configure(&block)
  class_eval(&block)
end
inherited(base)
# File railties/lib/rails/railtie/configurable.rb, line 11
def inherited(base)
  raise "You cannot inherit from a #{self.superclass.name} child"
end
instance()
# File railties/lib/rails/railtie/configurable.rb, line 15
def instance
  @instance ||= new
end
respond_to?(*args)
# File railties/lib/rails/railtie/configurable.rb, line 19
def respond_to?(*args)
  super || instance.respond_to?(*args)
end
Instance Protected methods
method_missing(*args, &block)
# File railties/lib/rails/railtie/configurable.rb, line 29
def method_missing(*args, &block)
  instance.send(*args, &block)
end