Sha256: 6dc49818d50b8de06454dbea8167376ff6b3cb4293ef2b8035fefc31ab426c8c
Contents?: true
Size: 341 Bytes
Versions: 9
Compression:
Stored size: 341 Bytes
Contents
module Redwood class PollMode < LogMode def initialize @new = true super end def puts s="" self << s + "\n" # if lines % 5 == 0 BufferManager.draw_screen # end end def poll puts unless @new @new = false puts "Poll started at #{Time.now}" PollManager.do_poll { |s| puts s } end end end
Version data entries
9 entries across 9 versions & 1 rubygems