Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Convenience commands for Pry / Pry plugin developers

branch: master
README.md

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).

Something went wrong with that request. Please try again.