Module: Netz::CommandSerializer

Defined in:
lib/netz/command_serializer.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.deserialize(cmd) ⇒ Object



7
8
9
10
11
# File 'lib/netz/command_serializer.rb', line 7

def self.deserialize(cmd)
  cmd = Command.new
  #cmd.stuff = blah
  cmd
end

Instance Method Details

#serializeObject



3
4
5
# File 'lib/netz/command_serializer.rb', line 3

def serialize
  self.to_s
end