Exception: Celluloid::NamingRequest
- Inherits:
-
SystemEvent
- Object
- Exception
- SystemEvent
- Celluloid::NamingRequest
- Defined in:
- lib/celluloid/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.
Constructor Details
#initialize(name) ⇒ NamingRequest
Returns a new instance of NamingRequest.
19 20 21 |
# File 'lib/celluloid/events.rb', line 19 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
17 18 19 |
# File 'lib/celluloid/events.rb', line 17 def name @name end |