Ruby, pry: Can I add something to the command `pry example.rb` so pry automatically goes interactive when it finishes executing the script? -


pry goes interactive mode if encounters exception (eg if put undefined variable 'x' @ end of script).

(also if, inside script require 'pry' , put binding.pry @ point want go interactive at.)

but i'm wondering: there's kind of flag/option/argument thingy can add pry example.rb command when enter @ command prompt, go interactive when reaches end of executing any example.rb script, regardless of what's inside? (assuming no exceptions before end, of course.)

(this useful use editors can run external programs notepad++, see this , this.)

not yet, file issue , i'll add :)


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

java - How to create Table using Apache PDFBox -

c# - Attempting to upload to FTP: System.Net.WebException: System error -