# Retrieve the name of current running method

**URL:** <https://www.ruby-forum.com/t/retrieve-the-name-of-current-running-method/190028>\
**Category:** Ruby\
**Created:** [June 11, 2010, 5:45pm UTC](https://www.ruby-forum.com/t/retrieve-the-name-of-current-running-method/190028 "2010-06-11T17:45:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![walle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/5daacb/32.png) [@walle](https://www.ruby-forum.com/u/walle)\
**Post date:** [June 11, 2010, 5:45pm UTC](https://www.ruby-forum.com/t/retrieve-the-name-of-current-running-method/190028/1 "2010-06-11T17:45:21Z")

</div>

Hey, short question. Is it possible you retrieve the name of the current  
running method?

//Walle

---

<div class="post-metadata">

**Author:** ![walle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/5daacb/32.png) [@walle](https://www.ruby-forum.com/u/walle)\
**Post date:** [June 11, 2010, 6:02pm UTC](https://www.ruby-forum.com/t/retrieve-the-name-of-current-running-method/190028/2 "2010-06-11T18:02:41Z")

</div>

For example…

[http://www.ruby-forum.com/topic/75258](http://www.ruby-forum.com/topic/75258)  
[http://snippets.dzone.com/posts/show/2366](http://snippets.dzone.com/posts/show/2366)

El 11/06/10 17:45, Walle W. escribiÃ³:

---

<div class="post-metadata">

**Author:** ![walle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/5daacb/32.png) [@walle](https://www.ruby-forum.com/u/walle)\
**Post date:** [June 11, 2010, 6:17pm UTC](https://www.ruby-forum.com/t/retrieve-the-name-of-current-running-method/190028/3 "2010-06-11T18:17:20Z")

</div>

Juan JosÂŽÃ© Vidal AgustÂ’Ã­n wrote:

> For example…
> 
> [Using the current method name within current method - Ruby - Ruby-Forum](http://www.ruby-forum.com/topic/75258)  
> [http://snippets.dzone.com/posts/show/2366](http://snippets.dzone.com/posts/show/2366)
> 
> El 11/06/10 17:45, Walle W. escribiÃ³:

Thanks Juan
