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.12.4 lib/mocha/multiple_yields.rb
challah-rolls-0.1.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
challah-rolls-0.1.0 vendor/bundle/gems/mocha-0.12.3/lib/mocha/multiple_yields.rb
challah-0.8.0.pre vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
challah-0.7.1 vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
challah-0.7.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
challah-0.7.0.pre2 vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
mocha-0.12.3 lib/mocha/multiple_yields.rb
challah-0.7.0.pre vendor/bundle/gems/mocha-0.12.2/lib/mocha/multiple_yields.rb
mocha-0.12.2 lib/mocha/multiple_yields.rb
mocha-0.12.1 lib/mocha/multiple_yields.rb
mocha-0.12.0 lib/mocha/multiple_yields.rb
challah-0.6.2 vendor/bundle/gems/mocha-0.11.4/lib/mocha/multiple_yields.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.11.4/lib/mocha/multiple_yields.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.11.4/lib/mocha/multiple_yields.rb
mocha-0.11.4 lib/mocha/multiple_yields.rb
mocha-0.11.3 lib/mocha/multiple_yields.rb
mocha-0.11.2 lib/mocha/multiple_yields.rb
mocha-0.11.1 lib/mocha/multiple_yields.rb