Sha256: 259274fcae006570cd906ab779626f938c80c5ac973f97c549f054e3985945db
Contents?: true
Size: 318 Bytes
Versions: 38
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
38 entries across 38 versions & 3 rubygems