Class DataMapper::Property::Integer
In: lib/dm-core/property/integer.rb
Parent: Numeric

Methods

Public Class methods

Protected Instance methods

Typecast a value to an Integer

@param [to_str, to_i] value

  value to typecast

@return [Integer]

  Integer constructed from value

@api private

[Validate]