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-1.6.0 lib/mocha/multiple_yields.rb
mocha-1.5.0 lib/mocha/multiple_yields.rb
mocha-1.4.0 lib/mocha/multiple_yields.rb
mocha-1.3.0 lib/mocha/multiple_yields.rb
mocha-1.2.1 lib/mocha/multiple_yields.rb
mocha-1.2.0 lib/mocha/multiple_yields.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/mocha-1.0.0/lib/mocha/multiple_yields.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/mocha-1.0.0/lib/mocha/multiple_yields.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/mocha-1.0.0/lib/mocha/multiple_yields.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/mocha-1.0.0/lib/mocha/multiple_yields.rb
mocha-1.1.0 lib/mocha/multiple_yields.rb
mocha-1.0.0 lib/mocha/multiple_yields.rb
mocha-1.0.0.alpha lib/mocha/multiple_yields.rb
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/mocha-0.14.0/lib/mocha/multiple_yields.rb
challah-1.0.0 vendor/bundle/gems/mocha-0.14.0/lib/mocha/multiple_yields.rb
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/mocha-0.14.0/lib/mocha/multiple_yields.rb
mocha-0.14.0 lib/mocha/multiple_yields.rb
challah-1.0.0.beta3 vendor/bundle/gems/mocha-0.13.3/lib/mocha/multiple_yields.rb
mocha-0.14.0.alpha lib/mocha/multiple_yields.rb
challah-1.0.0.beta2 vendor/bundle/gems/mocha-0.13.3/lib/mocha/multiple_yields.rb