Sha256: 91ebde29cbf82044caf4e025910c448efe5d7409f8fd7738922bfab1b52af6dd
Contents?: true
Size: 266 Bytes
Versions: 1
Compression:
Stored size: 266 Bytes
Contents
module TimerCli class Timer def initialize(sec) @sec = sec end def run puts 'Start timer ...' sleep @sec notify end private def notify notifier = Notifier.new(@sec) notifier.notify end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
timer_cli-0.0.1 | lib/timer_cli/timer.rb |