Class DataMapper::Property::Boolean
In: lib/dm-core/property/boolean.rb
Parent: Object

Methods

Included Modules

PassThroughLoadDump

Public Instance methods

Typecast a value to a true or false

@param [Integer, to_str] value

  value to typecast

@return [Boolean]

  true or false constructed from value

@api private

[Validate]