Sha256: 1e662f85de0b81b71c5aa2908e1a81d4c350e6e4eba4329da56eea4eda879550

Contents?: true

Size: 190 Bytes

Versions: 10

Compression:

Stored size: 190 Bytes

Contents

module Mocha
  class SingleYield
    attr_reader :parameters

    def initialize(*parameters)
      @parameters = parameters
    end

    def each
      yield(@parameters)
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
mocha-1.10.2 lib/mocha/single_yield.rb
mocha-1.10.1 lib/mocha/single_yield.rb
mocha-1.10.0 lib/mocha/single_yield.rb
mocha-1.10.0.beta.1 lib/mocha/single_yield.rb
mocha-1.10.0.alpha lib/mocha/single_yield.rb
mocha-1.9.0 lib/mocha/single_yield.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/mocha-1.8.0/lib/mocha/single_yield.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/mocha-1.8.0/lib/mocha/single_yield.rb
mocha-1.8.0 lib/mocha/single_yield.rb
mocha-1.7.0 lib/mocha/single_yield.rb