Class: Minder::IdlePeriod

Inherits:
Period
  • Object
show all
Defined in:
lib/minder/idle_period.rb

Instance Attribute Summary

Attributes inherited from Period

#minutes, #timer

Instance Method Summary collapse

Methods inherited from Period

#complete!, #initialize

Constructor Details

This class inherits a constructor from Minder::Period

Instance Method Details

#completed?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/minder/idle_period.rb', line 21

def completed?
  true
end

#elapsed?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/minder/idle_period.rb', line 17

def elapsed?
  true
end

#messageObject



9
10
11
# File 'lib/minder/idle_period.rb', line 9

def message
  nil
end

#start!Object



13
14
15
# File 'lib/minder/idle_period.rb', line 13

def start!
  # noop
end

#titleObject



5
6
7
# File 'lib/minder/idle_period.rb', line 5

def title
  "Press space to start next period"
end