Method: Moneta::Stack::DSL#initialize

Defined in:
lib/moneta/stack.rb

#initialize(stack, &block) ⇒ DSL

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of DSL.



20
21
22
23
# File 'lib/moneta/stack.rb', line 20

def initialize(stack, &block)
  @stack = stack
  instance_eval(&block)
end