Method: Moonshot::Stack#initialize
- Defined in:
- lib/moonshot/stack.rb
#initialize(config) {|@config| ... } ⇒ Stack
Returns a new instance of Stack.
36 37 38 39 40 41 42 |
# File 'lib/moonshot/stack.rb', line 36 def initialize(config) @config = config @ilog = config.interactive_logger @name = self.class.generate_name(@config) yield @config if block_given? end |