Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
kyrylo opened this Issue · 3 comments

1 participant

@kyrylo
Collaborator

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)> 
@kyrylo kyrylo was assigned
@kyrylo
Collaborator

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

@kyrylo
Collaborator

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

@kyrylo
Collaborator

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

@kyrylo kyrylo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.