This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.
instance_of(klass)
Passes if arg.instance_of?(klass)
# File lib/spec/mocks/argument_constraints.rb, line 215 def instance_of(klass) InstanceOf.new(klass) end