Sha256: a015997536b46aaa4a4368aa3a38fb88b1b9ff3d9066b06712a242dbc07b81c5
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
module DataMapper class Property class HugeInteger < DataMapper::Property::String def load(value) value&.to_i end def dump(value) value&.to_s end def typecast(value) load(value) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sbf-dm-core-1.3.0 | spec/support/properties/huge_integer.rb |
sbf-dm-core-1.3.0.beta | spec/support/properties/huge_integer.rb |