Class: Ruby::Pomodoro::Cmd::Main

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

#callSymbol

Returns signal for controller.

Returns:

  • (Symbol)

    signal for controller



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

def call
  @tasks = Ruby::Pomodoro::Tasks::Resource.all
  print template: :main
  :ok
end