Module: Rails::Application::Configurable
- Defined in:
- lib/rails/application/configurable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'lib/rails/application/configurable.rb', line 4 def self.included(base) base.extend ClassMethods end |
Instance Method Details
#config ⇒ Object
14 15 16 |
# File 'lib/rails/application/configurable.rb', line 14 def config @config ||= Application::Configuration.new(self.class.find_root_with_flag("config.ru", Dir.pwd)) end |