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
challah-1.0.0.beta vendor/bundle/gems/mocha-0.13.3/lib/mocha/parameter_matchers/object.rb
mocha-0.13.3 lib/mocha/parameter_matchers/object.rb
mocha-0.12.10 lib/mocha/parameter_matchers/object.rb
mocha-0.12.9 lib/mocha/parameter_matchers/object.rb
mocha-0.13.2 lib/mocha/parameter_matchers/object.rb
mocha-0.12.8 lib/mocha/parameter_matchers/object.rb
mocha-0.13.1 lib/mocha/parameter_matchers/object.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.12.3/lib/mocha/parameter_matchers/object.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/mocha-0.12.2/lib/mocha/parameter_matchers/object.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/mocha-0.12.3/lib/mocha/parameter_matchers/object.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/mocha-0.13.0/lib/mocha/parameter_matchers/object.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/parameter_matchers/object.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.13.0/lib/mocha/parameter_matchers/object.rb
challah-0.8.3 vendor/bundle/gems/mocha-0.12.3/lib/mocha/parameter_matchers/object.rb
challah-0.8.3 vendor/bundle/gems/mocha-0.13.0/lib/mocha/parameter_matchers/object.rb
mocha-0.13.0 lib/mocha/parameter_matchers/object.rb
mocha-0.12.7 lib/mocha/parameter_matchers/object.rb
mocha-0.12.6 lib/mocha/parameter_matchers/object.rb
mocha-0.12.5 lib/mocha/parameter_matchers/object.rb
challah-0.8.1 vendor/bundle/gems/mocha-0.12.3/lib/mocha/parameter_matchers/object.rb