Parent

Methods

Class Index [+]

Quicksearch

Spec::Mocks::ArgumentMatchers::InstanceOf

Public Class Methods

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

Public Instance Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.