Sha256: 543ad72fbd8d7a52259e53af43c2f394f9cea87f50a802f89d7dba08b03a0c3b

Contents?: true

Size: 332 Bytes

Versions: 168

Compression:

Stored size: 332 Bytes

Contents

module Mocha # :nodoc:
  
  class MultipleYields # :nodoc:
    
    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

168 entries across 163 versions & 16 rubygems

Version Path
challah-0.5.2 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.5.1 vendor/bundle/gems/mocha-0.10.5/lib/mocha/multiple_yields.rb
mocha-0.10.5 lib/mocha/multiple_yields.rb
challah-0.5.0 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
mocha-0.10.4 lib/mocha/multiple_yields.rb
challah-0.4.1 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.4.0 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.3.5 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.3.4 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.3.3 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.3.2 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.3.1 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.3.0 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.2.1 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
challah-0.2.0 vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb
mocha-0.10.3 lib/mocha/multiple_yields.rb
mocha-0.10.2 lib/mocha/multiple_yields.rb
mocha-0.10.1 lib/mocha/multiple_yields.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/mocha-0.9.12/lib/mocha/multiple_yields.rb
mocha-0.10.0 lib/mocha/multiple_yields.rb