3 category: Ruby libraries
14 Array.methods: [] try_convert
15 Array#methods: & * + abbrev assoc at ...
25 > show-method Array#select
35 > show-doc try_activate
54 > gem-cd foo # Switch to gem's dir
61 > wtf? # Trace of recent exception
67 Also consider [pry-rails](https://rubygems.org/gems/pry-rails).
69 $ pry -r ./config/environment
82 > ls -M # Instance methods
88 > ls -i # Instance vars
90 > ls -G xx # Grey by regex
94 shell-mode adds dir to the prompt.
99 Commands with `.` are shell commands.
101 pry(main)> .cat hello.txt
104 Add the [hirb](https://rubygems.org/gems/hirb) gem.
108 > view User.all, fields: %w[id name email]
111 Add the [pry-rescue](https://github.com/ConradIrwin/pry-rescue) gem.
115 # raise exceptions here
122 bundle exec rescue rspec
133 Add the [pry-remote](https://github.com/Mon-Ouie/pry-remote) gem.
140 bundle exec pry-remote
145 * [Pry](https://github.com/pry/pry)
146 * [Hirb](https://github.com/cldwalker/hirb)