Methods

Instance Public methods

configure(&block)

📝 Source code
# File railties/lib/rails/railtie/configurable.rb, line 24
def configure(&block)
  class_eval(&block)
end
🔎 See on GitHub

inherited(base)

📝 Source code
# File railties/lib/rails/railtie/configurable.rb, line 12
def inherited(base)
  raise "You cannot inherit from a #{superclass.name} child"
end
🔎 See on GitHub

instance()

📝 Source code
# File railties/lib/rails/railtie/configurable.rb, line 16
def instance
  @instance ||= new
end
🔎 See on GitHub

respond_to?(*args)

📝 Source code
# File railties/lib/rails/railtie/configurable.rb, line 20
def respond_to?(*args)
  super || instance.respond_to?(*args)
end
🔎 See on GitHub

Definition files