Class: Actor::Controls::Actor::CrashesImmediately

Inherits:
Example
  • Object
show all
Defined in:
lib/actor/controls/actor.rb

Constant Summary collapse

Error =
Class.new StandardError

Instance Attribute Summary

Attributes included from Actor

#actor_address, #actor_state, #reader

Instance Method Summary collapse

Methods inherited from Example

#action_executed?, #handle, #handled_messages

Methods included from Actor

#actor_statistics, #handle, #handle_system_message, included, #run_loop

Instance Method Details

#actionObject

Raises:



37
38
39
40
# File 'lib/actor/controls/actor.rb', line 37

def action
  super
  raise Error, "Induced error"
end