Socket
Book a DemoInstallSign in
Socket

pry-doc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pry-doc

1.6.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Pry Doc

pry-doc

Description

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

Installation

Install the gem using the below command.

gem install pry-doc

To automatically load pry-doc upon starting pry, add the command require 'pry-doc' to your pryrc. You can read more about it in Pry's README file.

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

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

show-doc

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.

FAQs

Package last updated on 20 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.