Class: GeneralActor::Actor

Inherits:
Object
  • Object
show all
Defined in:
lib/general_actor.rb

Overview

This class represents the general implementation of an actor

Instance Method Summary collapse

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

#killObject

Kill the actor



23
# File 'lib/general_actor.rb', line 23

def kill; end

#valueObject

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