module Mocha::ParameterMatchers

def kind_of(klass)

Other tags:
    Example: Actual parameter is not a kind of +Integer+. -
    Example: Actual parameter is a kind of +Integer+. -

Other tags:
    See: Kernel#kind_of? -
    See: Expectation#with -

Returns:
  • (KindOf) - parameter matcher.

Parameters:
  • klass (Class) -- expected class.
def kind_of(klass)
  KindOf.new(klass)
end