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 38 def initialize(actor, type) @actor = actor @type = type.to_sym fail ArgumentError, "type must be link or unlink" unless [:link, :unlink].include?(@type) end