Socket
Book a DemoInstallSign in
Socket

pomodoro_timer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pomodoro_timer

0.0.4
bundlerRubygems
Version published
Maintainers
1
Created
Source

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

  • Name: Hugo Roque
  • Email: hugo.roque@caelum.com.br
  • Twitter: http://twitter.com/hugolnx
  • Blog: http://hugolnx.com/
  • Labs: http://lnxlabs.heroku.com/

FAQs

Package last updated on 01 Jul 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.