Sha256: 9a44924457b3acbd9abdbe170abc2ff743fae0395f717fdf3f14825df494e9f6

Contents?: true

Size: 323 Bytes

Versions: 15

Compression:

Stored size: 323 Bytes

Contents

require 'mocha/parameter_matchers/equals'

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

# @private
class Object
  include Mocha::ParameterMatchers::InstanceMethods
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mocha-1.16.1 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.15.1 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.16.0 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.15.0 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.14.0 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.13.0 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.12.0 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.11.2 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.11.1 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.11.0 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.10.2 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.10.1 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.10.0 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.10.0.beta.1 lib/mocha/parameter_matchers/instance_methods.rb
mocha-1.10.0.alpha lib/mocha/parameter_matchers/instance_methods.rb