Method: Victor::Marshaling#encode_with

Defined in:
lib/victor/marshaling.rb

#encode_with(coder) ⇒ Object

YAML serialization methods



8
9
10
11
12
# File 'lib/victor/marshaling.rb', line 8

def encode_with(coder)
  marshaling.each do |attr|
    coder[attr.to_s] = send(attr)
  end
end