# File lib/cerealize/codec/marshal.rb, line 17 17: def decode(str) 18: Marshal.load(str.unpack('m*').first) 19: end
# File lib/cerealize/codec/marshal.rb, line 13 13: def encode(obj) 14: [Marshal.dump(obj)].pack('m*') 15: end
Version 4.8 of Marshalize always base64s to “BA” TODO: extract base64 decorator, then we can use pure marshal
# File lib/cerealize/codec/marshal.rb, line 9 9: def yours?(str) 10: str[0..1] == 'BA' 11: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.