LoginSignup
0
0

More than 5 years have passed since last update.

pry whereami

Posted at

: '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 :)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0