CallbacksMakes it simple to add callbacks to your Ruby classes | |
Download |
Callbacks Ranking & Summary
Advertisement
- License:
- Freeware
- Price:
- FREE
- Publisher Name:
- Leon Bogaert
- Publisher web site:
- http://callbacks.rubyforge.org/
- Operating Systems:
- Mac OS X
- File Size:
- 16 KB
Callbacks Tags
Callbacks Description
Makes it simple to add callbacks to your Ruby classes The Callbacks Ruby package will make it simple for Ruby developers to easily add callbacks a.k.a. "hooks" to Ruby classes.Callbacks? You know! That nifty feature that's also in Rails. Callbacks are pieces of code that get called whenever a predefined action occurs.A simple example: when a song in your favourite music player has ended a callback could be issued which will update the UI, jump to the next song and update your last.fm account. This is of course a very simple example. But it could well work just like this.NOTE: Callbacks is licensed and provided under the terms of the MIT/X Consortium License. What's New in This Release: · Callbacks per object instance (singleton callbacks) · Callbacks for classes of course still available · Shuffled some code between instancemethods and classmethods · Some more tests · API still not stable · Some documentation added
Callbacks Related Software