HOME

TheInfoList



OR:

Pry is an interactive shell for the Ruby programming language. It is notable for its
Smalltalk Smalltalk is a purely object oriented programming language (OOP) that was originally created in the 1970s for educational use, specifically for constructionist learning, but later found use in business. It was created at Xerox PARC by Learni ...
-inspiredThe Pry Ecosystem — John Mair, 201
link
/ref> ability to start a REPL within a running program. This lets programmers debug and modify the current state of a system.


Features

Pry exposes most of its introspective capabilities using a filesystem metaphor.Pry — Reuven M. Lerner, LinuxJournal, July 2012, pp2
link
o

/ref> For example, it has a cd (command), cd command to start interacting with a particular object, and uses ls to list methods and variables. It is possible to start Pry at any point inside a running program.Interactive Debugging With Pry — Alan MacDougall, 201
link
o

/ref> Due to the Reflection (computer science), reflective nature of Ruby, this lets the programmer inspect the program, change its current state, or correct the
source code In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer. Since a computer, at base, only ...
without restarting the process. A number of third party plugins are available for Pry, these add tighter integration with other Ruby projects, enhance the abilities of Pry itself, and make Pry available over a remote connection.


See also

* Comparison of computer shells * IPython — A similar piece of software for the Python programming language *
SLIME Slime or slimy may refer to: Science and technology Biology * Slime coat, the coating of mucus covering the body of all fish * Slime mold, an informal name for several eukaryotic organisms * Biofilm, or slime, a syntrophic community of micr ...
— An interactive
Lisp Lisp (historically LISP, an abbreviation of "list processing") is a family of programming languages with a long history and a distinctive, fully parenthesized Polish notation#Explanation, prefix notation. Originally specified in the late 1950s, ...
shell for
Emacs Emacs (), originally named EMACS (an acronym for "Editor Macros"), is a family of text editors that are characterized by their extensibility. The manual for the most widely used variant, GNU Emacs, describes it as "the extensible, customizable, s ...
* Tweak — A Smalltalk programming environment


References


External links

*
Wiki documentation

Introductory video
{{Ruby programming language Ruby (programming language) Interpreters (computing)