Sha256: 7d86fa312b5fc4c31bbc6d4cb1004f265f02208684b4b9561f25a3fc08ac8d89

Contents?: true

Size: 242 Bytes

Versions: 61

Compression:

Stored size: 242 Bytes

Contents

require 'mocha/parameter_matchers/equals'

module Mocha

  module ObjectMethods
    # @private
    def to_matcher
      Mocha::ParameterMatchers::Equals.new(self)
    end
  end

end

# @private
class Object
  include Mocha::ObjectMethods
end

Version data entries

61 entries across 50 versions & 5 rubygems

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