Sha256: 259274fcae006570cd906ab779626f938c80c5ac973f97c549f054e3985945db
Contents?: true
Size: 318 Bytes
Versions: 39
Compression:
Stored size: 318 Bytes
Contents
module Mocha class ArgumentIterator def initialize(argument) @argument = argument end def each if @argument.is_a?(Hash) @argument.each do |method_name, return_value| yield method_name, return_value end else yield @argument end end end end
Version data entries
39 entries across 39 versions & 3 rubygems