Parent

Methods

Class Index [+]

Quicksearch

Spec::Mocks::ArgumentMatchers::KindOf

Public Class Methods

new(klass) click to toggle source
     # File lib/spec/mocks/argument_matchers.rb, line 136
136:         def initialize(klass)
137:           @klass = klass
138:         end

Public Instance Methods

==(actual) click to toggle source
     # File lib/spec/mocks/argument_matchers.rb, line 140
140:         def ==(actual)
141:           actual.kind_of?(@klass)
142:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.