Class: TimerCli::Command
- Inherits:
-
Object
- Object
- TimerCli::Command
- Defined in:
- lib/timer_cli/command.rb
Class Method Summary collapse
Class Method Details
.start ⇒ Object
4 5 6 7 8 9 |
# File 'lib/timer_cli/command.rb', line 4 def start params = Parameters.new(ARGV) timer = Timer.new(params.sec) timer.run end |