1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

6 commits

Author SHA1 Message Date
Kyrylo Silin
f33d82779a rubocop: fix offences of the Style/HashSyntax cop 2018-10-13 03:09:29 +08:00
Travis Yoder
86154b4965 Changes deprecated ‘File.exists’ to ‘File.exist’ 2015-05-10 19:58:16 -06:00
Conrad Irwin
5421dbfb34 Make it clearer that we're copying from config to config 2014-05-01 01:51:02 -07:00
yui-knk
f83ee346fc Go to interactive_mode end-of-input is raised
When pry is run with file which causes syntax error (expecting
end-of-input), gose to interactive_mode.
This is same when other errors are raised.
This commit will fix #1098.
2014-01-26 01:07:48 +09:00
Conrad Irwin
9ce0397b7a Remove input_stack and fix REPLFileLoader 2012-12-28 13:35:48 -08:00
John Mair
c7bb475c61 provide CLI 'pry my_file.rb' functionality to load file through REPL loop
This is an interesting trick as it processes your file as if it
was user input in an interactive session. As a result, all Pry
commands are available, and they are executed non-interactively. Furthermore
the session becomes interactive when the repl loop processes a
'make-interactive' command in the file. The session also becomes
interactive when an exception is encountered, enabling you to fix
the error before returning to non-interactive processing with the
'make-non-interactive' command.
2012-06-20 02:10:18 +12:00