Class: Clive::Type::Integer

Inherits:
Object show all
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

#typecast, #valid?

Methods inherited from Clive::Type

cast, find_class, match, refute, #typecast, typecast, #valid?, valid?