Reviving thread again: I'd use __method__

In terms of original example.

def test_method
  puts __method__
end

Maybe __method__ didn't exist in 2006 (too lazy to check, maybe its
>=1.8.7), in 2010 it definitely did ;-)

-- 
Posted via http://www.ruby-forum.com/.