Module: Riak::Serializers::TextPlain

Extended by:
TextPlain
Included in:
TextPlain
Defined in:
lib/riak/serializers.rb

Instance Method Summary collapse

Instance Method Details

#dump(object) ⇒ Object


37
38
39
# File 'lib/riak/serializers.rb', line 37

def dump(object)
  object.to_s
end

#load(string) ⇒ Object


41
42
43
# File 'lib/riak/serializers.rb', line 41

def load(string)
  string
end