hacks/method_missing_delegate |
class SimpleMethodMissingDelegate < Object |
Public Methods |
Public Methods |
Create a delegate class that uses method_missing to do its dirty work. Works exactly the same as DelegateClass, but also allows the delegated object to change at run-time (in a type-safe manner).