<p><code>$0</code> is the variable for the top level Ruby program, but is there one for the current method?</p>

From
http://snippets.dzone.com/posts/show/2785
:
```
```
module Kernel
private
    def this_method_name
      caller[0] =~ /`([^']*)'/ and $1
    end
end

class Foo
  def test_method
    this_method_name
  end
end

puts Foo.new.test_method    # => test_method
```
```