Returns a new instance of Stack.
Parameters:
Options hash
Options Hash (options):
Array of Moneta stores
Yield Parameters:
block
38 39 40 41
# File 'lib/moneta/stack.rb', line 38 def initialize(options = {}, &block) @stack = options[:stack].to_a DSL.new(@stack, &block) if block_given? end