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

Not working

Open amerov opened this issue 8 years ago • 2 comments

pry-inline

ruby 2.3.1p112

cat Gemfile.lock

...
    pry (0.10.3)
      coderay (~> 1.1.0)
      method_source (~> 0.8.1)
      slop (~> 3.4)
    pry-byebug (3.3.0)
      byebug (~> 8.0)
      pry (~> 0.10)
    pry-doc (0.8.0)
      pry (~> 0.9)
      yard (~> 0.8)
    pry-inline (1.0.2)
      pry (~> 0.10.0)
      unicode (~> 0.4.4)
    pry-rails (0.3.4)
      pry (>= 0.9.10)
    pry-stack_explorer (0.4.9.2)
      binding_of_caller (>= 0.7)
      pry (>= 0.9.11)
...

amerov avatar Dec 20 '16 05:12 amerov

Sorry, the current implementation of pry-inline not works when a context (displayed ruby code) is invalid ruby code. For example, in your screenshot, the context (L109 ~ L119) is invalid code because it begins with end.

I'll fix it soon. Thank you for reporting!

seikichi avatar Jan 03 '17 21:01 seikichi

Subscribing

sashaegorov avatar Nov 07 '17 18:11 sashaegorov