Methods

Included Modules

Class Index [+]

Quicksearch

DataMapper::Property::Binary

Public Instance Methods

dump(value) click to toggle source
    # File lib/dm-core/property/binary.rb, line 12
12:         def dump(value)
13:           value.dup.force_encoding("BINARY") unless value.nil?
14:         rescue
15:           value
16:         end
load(value) click to toggle source
    # File lib/dm-core/property/binary.rb, line 8
 8:         def load(value)
 9:           super.dup.force_encoding("BINARY") unless value.nil?
10:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.