https://github.com/pry/pry-developer_tools
Convenience commands for Pry / Pry plugin developers
https://github.com/pry/pry-developer_tools
Last synced: 6 months ago
JSON representation
Convenience commands for Pry / Pry plugin developers
- Host: GitHub
- URL: https://github.com/pry/pry-developer_tools
- Owner: pry
- License: other
- Created: 2012-01-16T02:03:14.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-12T11:42:10.000Z (over 13 years ago)
- Last Synced: 2025-06-10T07:18:39.890Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 111 KB
- Stars: 8
- Watchers: 16
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
__OVERVIEW__
| Project | pry-developer\_tools
|:----------------|:--------------------------------------------------
| Homepage | https://github.com/pry/pry-developer_tools
| Documentation | http://github.com/pry/pry-developer_tools/
| Author | Pry Team
__DESCRIPTION__
pry-developer\_tools is a collection of Pry commands that are useful for Pry
developers and Pry plugin developers. It provides commands that you can use
to edit, reload, or define commands while in a Pry session.
__EXAMPLES__
* define-command
# Define a command in-memory (for length of Pry session)
(pry) > define-command "name", "desc" do
p "Do something!"
end
* edit-command
# Perform a edit of show-method that will persist.
(pry) > edit-command show-method
# Perform a in-memory edit of show-method.
(pry) > edit-command -p show-method
* reload-command
# Reload a Pry command from disk.
(pry) > reload-command edit-method
__PRY SUPPORT__
Versions >= 0.9.8
__INSTALL__
gem install pry-developer\_tools
__LICENSE__
Same license as Pry (MIT).