Use Pry: https://github.com/pry/pry
Let’s you:
- start sessions at runtime
- view method source code
- view method documentation (not using RI so you dont have to pre-generate it)
- pop in and out of different contexts
- syntax highlighting
- gist integration
- view and replay history
- open editors to edit method using
edit-method obj.my_method
syntax
A tonne more great and original features