Class: Kozo::Types::Integer

Inherits:
Kozo::Type show all
Defined in:
lib/kozo/types/integer.rb

Class Method Summary collapse

Methods inherited from Kozo::Type

lookup

Class Method Details

.cast(value) ⇒ Object



6
7
8
9
10
# File 'lib/kozo/types/integer.rb', line 6

def self.cast(value)
  return unless value

  send :Integer, value
end