Sha256: abddf6625d5525889c89b45d8dc9d2e7a24f3f9bb63e23f21ca37650ff410122
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
module DataMapper class Property class Boolean < Object load_as ::TrueClass dump_as ::TrueClass coercion_method :to_boolean # @api semipublic def value_dumped?(value) value_loaded?(value) end # @api semipublic def value_loaded?(value) value == true || value == false end end # class Boolean end # class Property end # module DataMapper
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ghost_dm-core-1.3.0.beta | lib/dm-core/property/boolean.rb |