From: "Marvin Gülker" Date: 2010-06-19T05:32:28+09:00 Subject: Is there a method I can call where: Xeno Campanoli / Eskimo North and Gmail wrote: > so I'd like specifically knowledge of the method name available as > stated. The __method__ method should do the trick: ruby -v: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux] irb(main):001:0> def foo irb(main):002:1> p __method__ irb(main):003:1> end => nil irb(main):004:0> foo :foo => :foo irb(main):005:0> That one is implemented since 1.8.7 I think. The class name is available via #class. Marvin -- Posted via http://www.ruby-forum.com/.