pry-doc icon indicating copy to clipboard operation
pry-doc copied to clipboard

Provide MRI Core documentation and source code for the Pry REPL

Results 15 pry-doc issues
Sort by recently updated
recently updated
newest added

I installed pry and pry-doc on Ubunutu WSL for Windows 10. When I try to use show-doc on pry to get information about a method it doesn't work. ``` [1]...

My pry-doc version is 0.11.1. From [https://github.com/pry/pry-doc/pull/65](url), the warning was fixed by v0.11.0. But when run `rails generate 〇〇`, got warning: `ruby/2.5.0 isn't supported by this pry-doc version`. How can...

generate pry-doc from local ruby source directory, enable generate pre-release ruby version.

Using `pry-rescue` to capture an execution (like e.g. https://github.com/ConradIrwin/pry-rescue/issues/117), sometimes it triggers the aforementioned issue - sometimes it triggers this one: https://github.com/lsegal/yard/issues/1321 From Yard's creator (in the previous issue), it...

Migrated from https://github.com/pry/pry/issues/2124. It does still work with some methods, but far fewer than 2.6.5 did. Errors and warnings appear on 2.7.0 (see below); this seems to be the line...

this works: ```c struct foo { }; ``` This does not: ```c struct foo { }; ```

What I do ( in pry ): show-doc Array What I expected: the documentation that Yard has for Array. What happens: no docs found. What I found about this issue:...

``` [4] pry(main)> S = Struct.new(:foo) => S [5] pry(main)> ? S#foo NameError: undefined method `new' for class `S' from /home/gutov/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/pry-doc-0.8.0/lib/pry-doc.rb:63:in `instance_method' ```

``` haskell [12] pry(main)> $ Comparable Error: Couldn't locate a definition for Comparable! [16] pry(main)> YARD::Registry.at('Comparable').docstring => "The Comparable mixin is used by classes whose objects\nmay be ordered. The class...

``` [1] pry(main)> $ Time#succ NameError: undefined local variable or method `cannot_locate_source_error' for # from /usr/local/lib/ruby/gems/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/show_source.rb:28:in `content_for' ``` Only pry(0.9.12.6) and pry-doc(0.6.0) installed. Happens on both MRI 1.9.3p385 and 2.1.1p76