Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A timer wich uses a internal clock and accepts subscribers
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
spec
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.rdoc
Rakefile
tick_tacker.gemspec

README.rdoc

Tick Tacker (tick_tacker)

A timer with a internal clock wich uses the observer pattern to notify other objects when the time pass.

Install

  • You need to install the gem

    $ gem install tick_tacker

Done!

Usage

@timer = TickTacker::Timer.new.with :total_time => 5.seconds
@timer.add_observer self
Thread.new {
  @timer.start
}

You can check the examples/ dir to see more examples.

Copyright

Copyright © 2011 Ricardo Valeriano. See LICENSE.txt details.

Something went wrong with that request. Please try again.