Skip to content

Commit

Permalink
Time is now specified in minutes, not seconds fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Jun 22, 2013
1 parent e05acdd commit 15e1f4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pomodoro_tracker/tabs/clock_helper.rb
Expand Up @@ -5,8 +5,8 @@ module ClockHelper
__FILE__)

# the seconds until &block gets executed
def init_clock(seconds, &block)
@seconds = seconds
def init_clock(minutes, &block)
@seconds = minutes * 60
@display = stack margin: 10
display_time
clock_ticking(&block)
Expand Down

0 comments on commit 15e1f4e

Please sign in to comment.