Class: Pancake::Stack::Configuration
- Inherits:
-
Configuration::Base
- Object
- Configuration::Base
- Pancake::Stack::Configuration
- Defined in:
- lib/pancake/stack/configuration.rb,
lib/pancake/stack/configuration.rb
Overview
Setup the default configuration for each stack
Instance Method Summary collapse
Methods inherited from Configuration::Base
default, #defaults, description_for, #description_for, #singleton_class, #values
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Pancake::Configuration::Base
Instance Method Details
#_router ⇒ Object
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/pancake/stack/configuration.rb', line 33 def _router @_router ||= begin unless stack.nil? r = stack.router.clone r.stack = stack r.configuration = self r end end end |