Skip to content

Instantly share code, notes, and snippets.

@danieltreacy
Created March 12, 2012 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieltreacy/2019069 to your computer and use it in GitHub Desktop.
Save danieltreacy/2019069 to your computer and use it in GitHub Desktop.
Start counter
# start the counter
> DebtClock::Counter.instance.start
=> 0
=> 1
=> 2
...
# get the latest count
> DebtClock::Counter.instance.count
=> 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment