Class: Clive::Type::Integer
- Inherits:
-
Object
- Object
- Clive::Type
- Object
- Clive::Type::Integer
- Defined in:
- lib/clive/type/definitions.rb
Overview
Integer will match anything that float matches, but will return an integer. If you need something that only matches integer values properly use StrictInteger.
Method Summary
Methods inherited from Object
Methods inherited from Clive::Type
cast, find_class, match, refute, #typecast, typecast, #valid?, valid?