class Uh::WM::Workers::Base

Constants

CALLBACKS

Public Class Methods

new(**_options) click to toggle source
# File lib/uh/wm/workers/base.rb, line 7
def initialize **_options
  @ios = []
end

Public Instance Methods

watch(io) click to toggle source
# File lib/uh/wm/workers/base.rb, line 11
def watch io
  @ios << io.to_io
end