Sha256: 7c674dea1a4eb35bb0107c0916cd379febedc3d9869cd263284343ddf86cabd8

Contents?: true

Size: 1.72 KB

Versions: 30

Compression:

Stored size: 1.72 KB

Contents

![Pry Doc][logo]

* Repository: [https://github.com/pry/pry-doc][repo]
* Wiki: [https://github.com/pry/pry-doc/wiki][wiki]
* [![Build Status](https://travis-ci.org/pry/pry-doc.svg?branch=master)](https://travis-ci.org/pry/pry-doc)

Description
-----------

Pry Doc is a plugin for [Pry][pry]. It provides extended documentation support
for Pry.

Installation
------------

All you need is to install the gem. The `pry-doc` plugin will be detected and
used automatically.

    gem install pry-doc

Synopsis
--------

Pry Doc extends two core Pry commands: `show-doc` and `show-source` (aliased as
`?` and `$` respectively).

For example, in vanilla Pry it’s impossible to get the documentation for the
`loop` method (it’s a method, by the way). However, Pry Doc solves that problem.

![show-source][show-doc]

Let's check the source code of the `loop` method.

![show-doc][show-source]

Generally speaking, you can retrieve most of the MRI documentation and
accompanying source code. Pry Doc is also smart enough to get any documentation
for methods and classes implemented in C.

Limitations
-----------

Pry Doc supports Ruby 2.0 and above.

Getting Help
------------

Simply file an issue or visit `#pry` at `irc.freenode.net`.

License
-------

The project uses the MIT License. See LICENSE file for more information.

[logo]: http://img-fotki.yandex.ru/get/6724/98991937.13/0_9faaa_26ec83af_orig "Pry Doc"
[pry]: https://github.com/pry/pry
[show-source]: http://img-fotki.yandex.ru/get/9303/98991937.13/0_9faac_aa86e189_orig "show-source extended by Pry Doc"
[show-doc]: http://img-fotki.yandex.ru/get/9058/98991937.13/0_9faab_68d7a43a_orig "show-doc extended by Pry Doc"
[repo]: https://github.com/pry/pry-doc
[wiki]: https://github.com/pry/pry-doc/wiki

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
pry-doc-1.0.0 README.md
pry-doc-0.13.5 README.md
pry-doc-0.13.4 README.md
pry-doc-0.13.3 README.md
pry-doc-0.13.2 README.md
pry-doc-0.13.2pre7 README.md
pry-doc-0.13.2pre6 README.md
pry-doc-0.13.2pre5 README.md
pry-doc-0.13.2pre4 README.md
pry-doc-0.13.2pre3 README.md
pry-doc-0.13.2pre2 README.md
pry-doc-0.13.2pre1 README.md
pry-doc-0.13.1 README.md
pry-doc-0.13.0 README.md
pry-doc-0.13.0pre14 README.md
pry-doc-0.13.0pre13 README.md
pry-doc-0.13.0pre12 README.md
pry-doc-0.13.0pre11 README.md
pry-doc-0.13.0pre10 README.md
pry-doc-0.13.0pre9 README.md