class RSpec::Mocks::ArgumentMatchers::KindOf
@private
def ===(actual)
def ===(actual) actual.kind_of?(@klass) end
def description
def description "kind of #{@klass.name}" end
def initialize(klass)
def initialize(klass) @klass = klass end
@private
def ===(actual) actual.kind_of?(@klass) end
def description "kind of #{@klass.name}" end
def initialize(klass) @klass = klass end