Parent

Methods

RSpec::Mocks::ArgumentMatchers::InstanceOf

Public Class Methods

new(klass) click to toggle source
# File lib/rspec/mocks/argument_matchers.rb, line 122
def initialize(klass)
  @klass = klass
end

Public Instance Methods

==(actual) click to toggle source
# File lib/rspec/mocks/argument_matchers.rb, line 126
def ==(actual)
  actual.instance_of?(@klass)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.