Class: Pancake::Stack::Configuration

Inherits:
Configuration::Base show all
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

#_routerObject



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