How to get the name of the calling method? October 22, 2022 by Tarik puts caller[0] or perhaps… puts caller[0][/`.*'/][1..-2]