Skip to content

Latest commit

 

History

History
65 lines (63 loc) · 981 Bytes

File metadata and controls

65 lines (63 loc) · 981 Bytes
Print the context where pry is stopped
$ wherami

or

$ @
Print the context 20 lines where pry is stopped
wherami 20
Display command options for pry command
$ help ls
Show all of the available methods that can be called by an object
$ ls <Object>
Step into an object
$ cd <var>
Step out a level
$ cd ..
Execute the line in the current pry context
$ play -l
Displays the last file Pry touched
$ _file_
Print the stack trace
$ wtf?
Learn how the method works
$ show-source
Exit page denoted with a colon (:)
$ q
Exit current pry and continue running code
$ exit
Exit Pry completely
$ exit!

or

$ !!!

Very useful add-ons: