Class: TSVAdapter::TSVMarshalSerializer
- Inherits:
-
Object
- Object
- TSVAdapter::TSVMarshalSerializer
- Defined in:
- lib/scout/persist/tsv/serialize.rb
Class Method Summary collapse
Class Method Details
.dump(tsv) ⇒ Object
79 80 81 |
# File 'lib/scout/persist/tsv/serialize.rb', line 79 def self.dump(tsv) Marshal.dump(tsv.dup) end |
.load(string) ⇒ Object
83 84 85 |
# File 'lib/scout/persist/tsv/serialize.rb', line 83 def self.load(string) TSV.setup Marshal.load(string) end |