Class: Actor::Messaging::Read::Substitute
- Inherits:
-
Actor::Messaging::Read
- Object
- Actor::Messaging::Read
- Actor::Messaging::Read::Substitute
- Defined in:
- lib/actor/messaging/read/substitute.rb
Defined Under Namespace
Modules: Controls
Instance Attribute Summary collapse
-
#next_message ⇒ Object
Returns the value of attribute next_message.
Attributes inherited from Actor::Messaging::Read
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Actor::Messaging::Read
Constructor Details
This class inherits a constructor from Actor::Messaging::Read
Instance Attribute Details
#next_message ⇒ Object
Returns the value of attribute next_message.
5 6 7 |
# File 'lib/actor/messaging/read/substitute.rb', line 5 def @next_message end |
Class Method Details
.build ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/actor/messaging/read/substitute.rb', line 7 def self.build queue = Queue::Substitute.new instance = new queue instance.extend Controls instance end |
Instance Method Details
#call(wait: nil) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/actor/messaging/read/substitute.rb', line 15 def call wait: nil if .nil? super else end end |