Sha256: 5f3b1f9d03d09392df572c8f2cc7fa6577fb4ca715e966da872fe9d889937e46

Contents?: true

Size: 165 Bytes

Versions: 5

Compression:

Stored size: 165 Bytes

Contents

require 'mocha/is_a'

module Mocha
  class SingleReturnValue
    def initialize(value)
      @value = value
    end

    def evaluate
      @value
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mocha-1.9.0 lib/mocha/single_return_value.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/mocha-1.8.0/lib/mocha/single_return_value.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/mocha-1.8.0/lib/mocha/single_return_value.rb
mocha-1.8.0 lib/mocha/single_return_value.rb
mocha-1.7.0 lib/mocha/single_return_value.rb