Module: Gamefic::Serialize

Defined in:
lib/gamefic/serialize.rb

Instance Method Summary collapse

Instance Method Details

#to_serialObject



3
4
5
6
7
# File 'lib/gamefic/serialize.rb', line 3

def to_serial
  {
    'class' => self.class.to_s
  }.merge serialize_instance_variables
end