Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

`show-source Hash#[]` fails #10

kyrylo opened this Issue Apr 2, 2013 · 3 comments


None yet
1 participant

kyrylo commented Apr 2, 2013

Probably, I need to fix this from Pry's side, too.

[1] pry(main)> $ Hash#[]
NameError: undefined local variable or method `cannot_locate_source_error' for #<Pry::Command::ShowSource:0x9631e48>
from /home/curacao/.gem/ruby/1.9.3/gems/pry-0.9.12/lib/pry/commands/show_source.rb:28:in `content_for'
[1] pry(main)> 

@ghost ghost assigned kyrylo Apr 2, 2013


kyrylo commented Apr 18, 2013

With pry-doc HEAD it works on Ruby 2.0.0-p0.


kyrylo commented Apr 27, 2013

It turned out that was a YARD's issue. I sent a pull request fixing this. lsegal/yard#668


kyrylo commented Apr 28, 2013

It was merged, so this issue is fixed, too.

@kyrylo kyrylo closed this May 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment