Class: Actor::Messaging::Send::Substitute::Record
- Inherits:
-
Struct
- Object
- Struct
- Actor::Messaging::Send::Substitute::Record
- Defined in:
- lib/actor/messaging/send/substitute.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#message ⇒ Object
Returns the value of attribute message.
-
#wait ⇒ Object
Returns the value of attribute wait.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address
31 32 33 |
# File 'lib/actor/messaging/send/substitute.rb', line 31 def address @address end |
#message ⇒ Object
Returns the value of attribute message
31 32 33 |
# File 'lib/actor/messaging/send/substitute.rb', line 31 def @message end |
#wait ⇒ Object
Returns the value of attribute wait
31 32 33 |
# File 'lib/actor/messaging/send/substitute.rb', line 31 def wait @wait end |
Instance Method Details
#message?(pattern) ⇒ Boolean
32 33 34 35 36 37 38 |
# File 'lib/actor/messaging/send/substitute.rb', line 32 def pattern return true if == pattern if pattern.is_a? Symbol and .is_a? Message . == pattern end end |