Substitute an existing method with a Proc. The Proc will have access to the replaced method and its parameters.
David Vallance
MIT