class MultipleMan::ChannelMaintenance::GC::AddCommand

Attributes

channel[R]
thread_id[R]

Public Class Methods

new(thread_id, channel) click to toggle source
# File lib/multiple_man/channel_maintenance/gc.rb, line 60
def initialize(thread_id, channel)
  @thread_id = thread_id
  @channel = channel
end

Public Instance Methods

execute(channels_by_thread) click to toggle source
# File lib/multiple_man/channel_maintenance/gc.rb, line 65
def execute(channels_by_thread)
  channels_by_thread[thread_id] << channel
end