Method: Moped::Protocol::Message#serialize
- Defined in:
- lib/moped/protocol/message.rb
#serialize(buffer = "") ⇒ String Also known as: to_s
Serializes the message and all of its fields to a new buffer or to the provided buffer.
321 322 323 |
# File 'lib/moped/protocol/message.rb', line 321 def serialize(buffer = "") raise NotImplementedError, "This method is generated after calling #finalize on a message class" end |