pry-less-source
Provides less-source command support for Pry.
This is only for Unix-like OS.
Installation
$ vi Gemfile
gem 'pry'
gem 'pry-rails'
gem 'pry-less-source'
$ bundle
Usage
Start Pry
$ pry
Or
$ rails c
pry(main)> less-source Book.all
Difference of show-source command
show-source command output like this:
Contributing
- Fork this repository. And clone it.
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push your branch to GitHub (git push origin my-new-feature)
- Create a new Pull Request
License
MIT