Let's say I want to replace some action of a class temporarily by applying some formula to something.action like this,
something.action = apply(something.action)
Later, I want to apply back the original action method to the instance something by doing something like this
something.action = ...
How should I accomplish this?