Sha256: e44f0597ff68ad65c20cc50abc53a9198d6821357c47b63e6c35df0f1b763ca3
Contents?: true
Size: 302 Bytes
Versions: 13
Compression:
Stored size: 302 Bytes
Contents
module DataMapper class Property class HugeInteger < DataMapper::Property::String def load(value) value.to_i unless value.nil? end def dump(value) value.to_s unless value.nil? end def typecast(value) load(value) end end end end
Version data entries
13 entries across 13 versions & 3 rubygems