From: "Iñaki Baz Castillo" Date: 2009-03-31T06:32:25+09:00 Subject: Getting the current module(s), class name and method in Ruby 1.9 Hi, first of all I'm sorry since I already did this question some time ago (but I ca't find it now). Basically I want the following: --------------- module MyModule class MyClass def show_log puts "I'm here: ###### FIXME ######" end end end my_class = MyModule::MyClass.new my_class.show_log => I'm here: MyModule::MyClass#show_log --------------- When I did this question I remember that it was not possible with Ruby 1.8 but it was feasible in Ruby 1.9. Could you please show me how to get it? Thanks a lot. -- Iñaki Baz Castillo