Sha256: b746528e66ff84ec412d21af7f4482eb7897706e55fb4b88055e4ee98f1ac133
Contents?: true
Size: 426 Bytes
Versions: 15
Compression:
Stored size: 426 Bytes
Contents
require 'ardm/property/string' module Ardm class Property class Binary < String if RUBY_VERSION >= "1.9" def load(value) super.dup.force_encoding("BINARY") unless value.nil? end def dump(value) value.dup.force_encoding("BINARY") unless value.nil? rescue value end end end # class Binary end # class Property end # module Ardm
Version data entries
15 entries across 15 versions & 1 rubygems