Sha256: 5d7e689ed954b1ab7dca400e6d6831e75a3c572c02d675d107cb34b2838471a1

Contents?: true

Size: 288 Bytes

Versions: 61

Compression:

Stored size: 288 Bytes

Contents

module Mocha

  class MultipleYields

    attr_reader :parameter_groups

    def initialize(*parameter_groups)
      @parameter_groups = parameter_groups
    end

    def each
      @parameter_groups.each do |parameter_group|
        yield(parameter_group)
      end
    end

  end

end

Version data entries

61 entries across 50 versions & 5 rubygems

Version Path
mocha-0.11.0 lib/mocha/multiple_yields.rb