Module: Rails::Railtie::Configurable

Defined in:
lib/rails/railtie/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/railtie/configurable.rb', line 4

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#configObject



18
19
20
# File 'lib/rails/railtie/configurable.rb', line 18

def config
  self.class.config
end