Closed banister closed 6 years ago
What if the rb_ary_dup
method is defined in the Ruby context? How do you handle this case?
@kyrylo with the -c
(or --c-source
) switch, it prioritizes C symbols over ruby
@kyrylo i added some specs and refactored a bit. review when you get a chance bb
This PR decorates the standard
show-source
command with extra powers allowing it to extract and display MRI C source on the fly.It also downloads and sets up the correct Ruby source for the current
RUBY_VERSION
lazily and stores it in~/.pry.d/ruby-#{version}
TODO:
show-source VALUE
which returnscurrently. Rewrite symbol extraction code so this mess doesn't happen