ActiveSupport Callback Tutorial
This project demonstrates how to define and run custom callbacks on normal ruby objects with ActiveSupport::Callbacks.
For a longer explanation, check out this blog post.
To run the examples, run the following:
git clone https://github.com/jch/as_callback_tutorial bundle bundle exec ruby example.rb
The documented source is available in example.html.