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
19 20 21 |
# File 'lib/actor/messaging/send/substitute.rb', line 19 def address @address end |
#message ⇒ Object
Returns the value of attribute message
19 20 21 |
# File 'lib/actor/messaging/send/substitute.rb', line 19 def @message end |
#wait ⇒ Object
Returns the value of attribute wait
19 20 21 |
# File 'lib/actor/messaging/send/substitute.rb', line 19 def wait @wait end |
Instance Method Details
#message?(pattern) ⇒ Boolean
20 21 22 23 24 25 26 |
# File 'lib/actor/messaging/send/substitute.rb', line 20 def pattern return true if == pattern if pattern.is_a? Symbol and .is_a? Message . == pattern end end |