method
be_a_kind_of
1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Matchers
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (38)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
be_a_kind_of(expected)
public
Passes if actual.kind_of?(expected)
Examples
5.should be_kind_of(Fixnum) 5.should be_kind_of(Numeric) 5.should_not be_kind_of(Float)