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
challah-1.0.0.beta vendor/bundle/gems/mocha-0.13.3/lib/mocha/multiple_yields.rb
mocha-0.13.3 lib/mocha/multiple_yields.rb
mocha-0.12.10 lib/mocha/multiple_yields.rb
mocha-0.12.9 lib/mocha/multiple_yields.rb
mocha-0.13.2 lib/mocha/multiple_yields.rb
mocha-0.12.8 lib/mocha/multiple_yields.rb
mocha-0.13.1 lib/mocha/multiple_yields.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.12.3/lib/mocha/multiple_yields.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/mocha-0.12.3/lib/mocha/multiple_yields.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/mocha-0.13.0/lib/mocha/multiple_yields.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.13.0/lib/mocha/multiple_yields.rb
challah-0.8.3 vendor/bundle/gems/mocha-0.13.0/lib/mocha/multiple_yields.rb
challah-0.8.3 vendor/bundle/gems/mocha-0.12.3/lib/mocha/multiple_yields.rb
mocha-0.13.0 lib/mocha/multiple_yields.rb
mocha-0.12.7 lib/mocha/multiple_yields.rb
mocha-0.12.6 lib/mocha/multiple_yields.rb
mocha-0.12.5 lib/mocha/multiple_yields.rb
challah-0.8.1 vendor/bundle/gems/mocha-0.12.3/lib/mocha/multiple_yields.rb