wrapr allows you to inject behavior into any existing class
Wrapr allows you to modify the behavior of any instance method (even #initialize) with before, around and after filters. The gem allows you to modify arguments before they reach instance methods and allows you intercept/modify returns. As it was originally developed to wrap Exception to trap/debug specific exceptions deep in business logic, Wrapping a base class wraps all descendant classes.
Post a comment