class Celluloid::SystemEvent::LinkingEvent
Public Class Methods
new(actor, type)
click to toggle source
Shared initializer for LinkingRequest
and LinkingResponse
# File lib/celluloid/system_events.rb, line 41 def initialize(actor, type) @actor = actor @type = type.to_sym raise ArgumentError, "type must be link or unlink" unless %i[link unlink].include?(@type) end