lib/sup/modes/poll-mode.rb in sup-0.0.1 vs lib/sup/modes/poll-mode.rb in sup-0.0.2
- old
+ new
@@ -14,11 +14,11 @@
end
def poll
puts unless @new
@new = false
- puts "poll started at #{Time.now}"
- PollManager.poll { |s| puts s }
+ puts "Poll started at #{Time.now}"
+ PollManager.do_poll { |s| puts s }
end
end
end