Class: Ruby::Pomodoro::Cmd::Stop

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby/pomodoro/cmd/stop.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from TimeHelpers

#to_format_string

Constructor Details

This class inherits a constructor from Ruby::Pomodoro::Cmd::Base

Instance Method Details

#callObject



5
6
7
8
# File 'lib/ruby/pomodoro/cmd/stop.rb', line 5

def call
  worker.stop
  Main.new.call
end