pry whereami


: 'whereami' by itself shows 5 lines, 'whereami -m' shows the complete code for the current method you're in, 'whereami -c' shows the complete code for the class your'e in, and 'whereami -f' shows the code for the entire file. Also 'wherami N' where N is a number will show N lines +- your current line :)