mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
First stab at rewriting documentation, including new pry logo.
This commit is contained in:
parent
413507d8dd
commit
fd007cb37d
1 changed files with 7 additions and 17 deletions
|
@ -1,34 +1,24 @@
|
||||||
Pry
|

|
||||||
=============
|
|
||||||
|
|
||||||
(C) John Mair (banisterfiend) 2011
|
(C) John Mair (banisterfiend) 2011
|
||||||
|
|
||||||
_Ruby voyeurism_
|
_Get to the code_
|
||||||
|
|
||||||
Pry is a powerful alternative to the standard IRB shell for Ruby. It is
|
Pry is a powerful alternative to the standard IRB shell for Ruby. It is
|
||||||
written from scratch to provide a number of advanced features, some of
|
written from scratch to provide a number of advanced features, some of
|
||||||
these include:
|
these include:
|
||||||
|
|
||||||
|
* Syntax higlighting
|
||||||
|
* Navigation around state (`cd`, `ls` and friends)
|
||||||
* Runtime invocation
|
* Runtime invocation
|
||||||
* Syntax highlighting
|
|
||||||
* Command shell integration
|
* Command shell integration
|
||||||
* Source code browsing (including core C source with the pry-doc gem)
|
* Source code browsing (including core C source with the pry-doc gem)
|
||||||
* Documentation browsing
|
* Documentation browsing
|
||||||
* Exotic object support (BasicObject instances, IClasses, ...)
|
* Exotic object support (BasicObject instances, IClasses, ...)
|
||||||
* A Powerful and flexible command system
|
* A Powerful and flexible command system
|
||||||
* Gisting ability
|
* Ability to view and replay history
|
||||||
* Many convenience commands
|
* Many convenience commands inspired by IPython and SLIME
|
||||||
|
|
||||||
Pry is a Ruby REPL (Read-Eval-Print-Loop) that specializes in the interactive
|
|
||||||
manipulation of objects during the running of a program.
|
|
||||||
|
|
||||||
In some sense it is the opposite of IRB in that you bring a REPL
|
|
||||||
session to your code (with Pry) instead of bringing your code to a
|
|
||||||
REPL session (as with IRB).
|
|
||||||
|
|
||||||
It is not based on the IRB codebase, and implements some unique REPL
|
|
||||||
commands such as `show-method`, `show-doc`, `ls` and `cd` (type `help`
|
|
||||||
to get a full list).
|
|
||||||
|
|
||||||
Pry is also fairly flexible and allows significant user
|
Pry is also fairly flexible and allows significant user
|
||||||
[customization](http://rdoc.info/github/banister/pry/master/file/wiki/Customizing-pry.md). It
|
[customization](http://rdoc.info/github/banister/pry/master/file/wiki/Customizing-pry.md). It
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue