class Explorer::LogWatcher::LogDevice
Public Class Methods
new(watcher, label='system')
click to toggle source
# File lib/explorer/log_watcher.rb, line 40 def initialize(watcher, label='system') @watcher = watcher @label = label end
Public Instance Methods
close()
click to toggle source
# File lib/explorer/log_watcher.rb, line 45 def close end
write(data)
click to toggle source
# File lib/explorer/log_watcher.rb, line 48 def write(data) @watcher.log(@label, data) end