Class: Ohm::Types::Integer

Inherits:
Primitive show all
Defined in:
lib/ohm/contrib/typecast.rb

Instance Method Summary (collapse)

Methods inherited from Primitive

#==, #initialize, #respond_to?, #to_s

Methods inherited from Base

[], delegate_to, empty, #inspect

Constructor Details

This class inherits a constructor from Ohm::Types::Primitive

Instance Method Details

- (Object) object



98
99
100
# File 'lib/ohm/contrib/typecast.rb', line 98

def object
  ::Kernel::Integer(@raw)
end