Skip to content

HugoLnx/pomodoro-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pomodoro Timer


Description

A simple project to count your pomodoros time.

How use it

First of all, install it...

gem install pomodoro_timer

After that you can open irb, require and include:

require 'rubygems'
require 'pomodoro_timer'
include PomodoroTimer 

Now you have the methods:

  • start: Start one pomodoro.
  • status: Show if you are in break or work time and how much least to end.
  • cancel: Cancel your pomodoro.

How it works

First: Calling the start method, your 25 minutes of work will start counting.
Second: When this time end a ding sound will be played and your 5 minutes of break will starts counting automaticaly.
Third: When break time ends you have to start another pomodoro manualy, using the start method.

Maybe you will want to ignore the break ding and work a litte more, it's okay, you can cancel the actual pomodoro and when you want take a break you can call the method start passing :break like this...

start :break

Limitations

  • Was tested only in ubuntu, and I think that will not work in anothers OSs, because the gem uses the "aplay" built-in command to play the ding.
  • Has no way to pause a pomodoro. (Puporsely)

About me

About

A simple timer for pomodoro.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages