Method: Protocol::ProtocolModule#reset_messages
- Defined in:
- lib/protocol/protocol_module.rb
#reset_messages ⇒ Object
Reset the cached message array. Call this if you want to change the protocol dynamically after it was already used (= the #messages method was called).
65 66 67 68 |
# File 'lib/protocol/protocol_module.rb', line 65 def @messages = nil self end |