See alias_method_chain
implementation in Rails.
http://codelevy.com/2013/02/26/ruby2.0-vs-alias_method_chain.html
Question
What would be the equvivalent of Module#prepend in ruby 1.8?
Solution
See alias_method_chain
implementation in Rails.
http://codelevy.com/2013/02/26/ruby2.0-vs-alias_method_chain.html