Parent

Methods

RSpec::Mocks::ArgumentMatchers::KindOf

Public Class Methods

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

Public Instance Methods

==(actual) click to toggle source
     # File lib/rspec/mocks/argument_matchers.rb, line 129
129:         def ==(actual)
130:           actual.kind_of?(@klass)
131:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.