Object
# File lib/debugger/test/mocha_extensions.rb, line 54 def initialize(*blocks) @blocks = [ *blocks ] end
# File lib/debugger/test/mocha_extensions.rb, line 66 def +(other) self.class.new(*(@blocks + other.blocks)) end
# File lib/debugger/test/mocha_extensions.rb, line 58 def next(arguments, &block) case @blocks.length when 0 then nil when 1 then @blocks.first.call(*arguments, &block) else @blocks.shift.call(*arguments, &block) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.