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



79
80
81
# File 'lib/rbbt/tsv/serializers.rb', line 79

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

.load(string) ⇒ Object



83
84
85
# File 'lib/rbbt/tsv/serializers.rb', line 83

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