| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Simple timer to display elapsed time of a block.
Instantiate timer with optional Growl message timer.
timer = Timer.new(:title => "My Timer")
Call the timer with a block and optional message to output.
timer.time("The block has finished executing!") do
# some code in here
end
Copyright (c) 2018 Isaac Priestley. See LICENSE for details.
| Back | FazBrowse Home | New Git URL |