Class: TSV::TSVMarshalSerializer

Inherits:
Object
  • Object
show all
Defined in:
lib/rbbt/tsv/serializers.rb

Class Method Summary collapse

Class Method Details

.dump(tsv) ⇒ Object



56
57
58
# File 'lib/rbbt/tsv/serializers.rb', line 56

def self.dump(tsv)
  Marshal.dump(tsv.dup)
end

.load(string) ⇒ Object



60
61
62
# File 'lib/rbbt/tsv/serializers.rb', line 60

def self.load(string)
  TSV.setup Marshal.load(string)
end