Class: GeneralActor::Actor
- Inherits:
-
Object
- Object
- GeneralActor::Actor
- Defined in:
- lib/general_actor.rb
Overview
This class represents the general implementation of an actor
Instance Method Summary collapse
- #get_value_with_timeout(timeout) ⇒ Object
-
#initialize(_obj) ⇒ Actor
constructor
Initializes a new actor.
-
#kill ⇒ Object
Kill the actor.
-
#value ⇒ Object
Get the value of the object stored in the actor.
-
#value=(value) ⇒ Object
Set the value of the object stored in the actor.
Constructor Details
#initialize(_obj) ⇒ Actor
Initializes a new actor
17 18 19 |
# File 'lib/general_actor.rb', line 17 def initialize(_obj) raise "Just a template actor, use the implementations instead!" end |
Instance Method Details
#get_value_with_timeout(timeout) ⇒ Object
33 |
# File 'lib/general_actor.rb', line 33 def get_value_with_timeout(timeout); end |
#kill ⇒ Object
Kill the actor
23 |
# File 'lib/general_actor.rb', line 23 def kill; end |
#value ⇒ Object
Get the value of the object stored in the actor
27 |
# File 'lib/general_actor.rb', line 27 def value; end |
#value=(value) ⇒ Object
Set the value of the object stored in the actor
31 |
# File 'lib/general_actor.rb', line 31 def value=(value); end |