Subject: using the current method name within current method
From: "Matthew Heidemann" <matthew.heidemann gmail.com>
Date: Mon, 31 Jul 2006 12:37:01 +0900
Is there a way to get the current method name within the current method?
def test_method
puts self.current_method
end
--- output ----
test_method
Thanks,
Matt