| Class | ActionMessenger::Message |
| In: |
lib/action_messenger/message.rb
|
| Parent: | Object |
A message which will be sent, or which has been received.
| body | [RW] | The body of the message. |
| from | [RW] | The sender of the message. |
| subject | [RW] | The subject of the message. |
| to | [RW] | The recipient of the message. |
Compares this object with another for equality.
The other object is considered equal if it is not nil and all its fields are the same as this object‘s fields.
# File lib/action_messenger/message.rb, line 21
21: def ==(that)
22: return false if that.nil?
23: to == that.to and from == that.from and body == that.body and subject == that.subject
24: end