Exception: Celluloid::NamingRequest

Inherits:
SystemEvent
  • Object
show all
Defined in:
lib/celluloid/events.rb

Overview

Name an actor at the time it’s registered

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



17
18
19
# File 'lib/celluloid/events.rb', line 17

def name
  @name
end