PRY Tips and Tricks
-
To install, type
gem install pry
in your Terminal. -
To start PRY, type
pry
and to exit, typequit
. -
If you mess up and need to exit, hit ctrl-C to get back your PRY prompt.
[21] pry(main)> 'mixed up" [21] pry(main)* {ctrl c to remove * and return to original state -works in most Unix programs} [22] pry(main)>
-
To see what you've done in pry, navigate to your home directory and type:
less .pry_history
-
Tab completion also works in PRY and SublimeText