Module: Ruby::Pomodoro::TimeHelpers
- Included in:
- Cmd::Base
- Defined in:
- lib/ruby/pomodoro/time_helpers.rb
Instance Method Summary collapse
-
#to_format_string(seconds) ⇒ String
As N:d N:h N:m.
Instance Method Details
#to_format_string(seconds) ⇒ String
Returns as N:d N:h N:m.
6 7 8 |
# File 'lib/ruby/pomodoro/time_helpers.rb', line 6 def to_format_string(seconds) Ruby::Pomodoro::TimeConverter.to_format_string(seconds) end |