From: Gustav Paul Date: 2007-09-13T02:16:39+09:00 Subject: Logging all method calls? ------=_Part_14662_27621904.1189617390459 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey Is there a way to log all the method calls that occur throughout the execution of some script? Something like an hook that gets called whenever a method executes would be ideal. Eg. class Object def before_method_called(method_name) p class.name + method_name.to_s end end Thanks in advance, Gustav Paul ------=_Part_14662_27621904.1189617390459--