Module: ProxyLocal::Serializer

Defined in:
lib/proxylocal/serializer.rb

Class Method Summary collapse

Class Method Details

.dump(object) ⇒ Object



5
6
7
# File 'lib/proxylocal/serializer.rb', line 5

def self.dump(object)
  BERT.encode(object)
end

.load(data) ⇒ Object



9
10
11
# File 'lib/proxylocal/serializer.rb', line 9

def self.load(data)
  BERT.decode(data)
end