Class: Ruby::Pomodoro::Cmd::EditList

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby/pomodoro/cmd/edit_list.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

#call(editor) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/ruby/pomodoro/cmd/edit_list.rb', line 5

def call(editor)
  print
  worker.stop
  editor.save
  editor.edit
  Main.new.call
end