class MultipleMan::ChannelMaintenance::GC::RemoveCommand

Attributes

thread_id[R]

Public Class Methods

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

Public Instance Methods

execute(channels_by_thread) click to toggle source
# File lib/multiple_man/channel_maintenance/gc.rb, line 77
def execute(channels_by_thread)
  channels_by_thread.delete(thread_id)
end