Also, an entirely too-little used idiom (blame Rails programmers):
module OverrideSomeMethod def some_method … end end s = SomeClass.new s.extend OverrideSomeMethod s.some_method
The only downside of this idiom is the extra runtime cost which maybe an issue for Rails?
Also, an entirely too-little used idiom (blame Rails programmers):