class Aggkit::Watcher::Pipe
Public Class Methods
new()
click to toggle source
# File lib/aggkit/watcher.rb, line 17 def initialize @read, @write = IO.pipe end
Public Instance Methods
gets()
click to toggle source
# File lib/aggkit/watcher.rb, line 25 def gets @read.gets.strip.to_sym end
puts(str)
click to toggle source
# File lib/aggkit/watcher.rb, line 21 def puts(str) @write.puts str.to_s end