Parent

Methods

RSpec::Mocks::ArgumentMatchers::InstanceOf

Public Class Methods

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

Public Instance Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.