Sha256: 05dc1f917f4b60efa07a58b8e99d2642a3798ebd9981eb525cb4fca67fcc5da3
Contents?: true
Size: 298 Bytes
Versions: 32
Compression:
Stored size: 298 Bytes
Contents
module Redwood class PollMode < LogMode def initialize @new = true super "poll for new messages" end def poll unless @new @new = false self << "\n" end self << "Poll started at #{Time.now}\n" PollManager.do_poll { |s| self << (s + "\n") } end end end
Version data entries
32 entries across 32 versions & 1 rubygems