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


93
94
95
# File 'lib/celluloid/system_events.rb', line 93

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name


86
87
88
# File 'lib/celluloid/system_events.rb', line 86

def name
  @name
end