summaryrefslogtreecommitdiff
path: root/lib/timetrackr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timetrackr.rb')
-rw-r--r--lib/timetrackr.rb22
1 files changed, 17 insertions, 5 deletions
diff --git a/lib/timetrackr.rb b/lib/timetrackr.rb
index 75bf520..c93da9b 100644
--- a/lib/timetrackr.rb
+++ b/lib/timetrackr.rb
@@ -34,6 +34,20 @@ class TimeTrackr
end
#
+ # start a period
+ #
+ def start(task,notes)
+ raise 'Not implemented'
+ end
+
+ #
+ # stop a period
+ #
+ def stop(task)
+ raise 'Not implemented'
+ end
+
+ #
# return an array of all tasks
#
def tasks
@@ -42,21 +56,19 @@ class TimeTrackr
#
# time in task in seconds
- # only considers 'start' and 'stop' events
#
def time(task)
- raise 'Not Implemented'
end
#
- # write an event
+ # get task history as an array of Periods
#
- def event(task, time=Time.now, details={})
+ def history(task)
raise 'Not Implemented'
end
#
- # clear an event
+ # clear an task
#
def clear(task)
raise 'Not Implemented'