Class: Celluloid::NamingRequest

Inherits:
SystemEvent show all
Defined in:
lib/celluloid/system_events.rb

Overview

Name an actor at the time it’s registered

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from SystemEvent

handle, handler

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

#nameObject (readonly)

Returns the value of attribute name.



89
90
91
# File 'lib/celluloid/system_events.rb', line 89

def name
  @name
end