Class: Isono::RubySerializer

Inherits:
Serializer show all
Defined in:
lib/isono/serializer.rb

Instance Method Summary collapse

Methods inherited from Serializer

instance

Instance Method Details

#marshal(buf) ⇒ Object



35
36
37
# File 'lib/isono/serializer.rb', line 35

def marshal(buf)
  ::Marshal.dump(buf)
end

#unmarshal(buf) ⇒ Object



39
40
41
# File 'lib/isono/serializer.rb', line 39

def unmarshal(buf)
  ::Marshal.load(buf)
end