Get the name of the currently executing method in Ruby

Posted by salt.racer on Stack Overflow See other posts from Stack Overflow or by salt.racer
Published on 2008-10-14T00:14:06Z Indexed on 2010/05/02 19:28 UTC
Read the original article Hit count: 345

Filed under:
|
|

So $0 is the env variable for the top level Ruby program ... but is there one for the current method?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about reflection