Module: Rails::Engine::Configurable::ClassMethods

Defined in:
lib/rails/engine/configurable.rb

Instance Method Summary collapse

Instance Method Details

#configObject



11
12
13
# File 'lib/rails/engine/configurable.rb', line 11

def config
  @config ||= Engine::Configuration.new(find_root_with_flag("lib"))
end

#inherited(base) ⇒ Object



15
16
17
# File 'lib/rails/engine/configurable.rb', line 15

def inherited(base)
  raise "You cannot inherit from a Rails::Engine child"
end