Class: Celluloid::NamingRequest
- Inherits:
-
SystemEvent
- Object
- SystemEvent
- Celluloid::NamingRequest
- Defined in:
- lib/celluloid/system_events.rb
Overview
Name an actor at the time it’s registered
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ NamingRequest
constructor
A new instance of NamingRequest.
Methods inherited from SystemEvent
Constructor Details
#initialize(name) ⇒ NamingRequest
Returns a new instance of NamingRequest.
100 101 102 |
# File 'lib/celluloid/system_events.rb', line 100 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
89 90 91 |
# File 'lib/celluloid/system_events.rb', line 89 def name @name end |