Object
@api private
# File lib/moneta/stack.rb, line 20 def initialize(stack, &block) @stack = stack instance_eval(&block) end
@api public
# File lib/moneta/stack.rb, line 26 def add(store = nil, &block) raise ArgumentError, 'Only argument or block allowed' if store && block @stack << (store || Moneta.build(&block)) nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.