1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/irb
nobu 9fa0d0058d irb.rb: restore the last error
* lib/irb.rb (eval_input): restore the last error `$!`, as the
  previous result.  [Feature #14684]

* lib/irb/context.rb (evaluate): add `exception` keyword argument
  to set the last error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-14 13:05:52 +00:00
..
cmd
ext
lc
completion.rb Hash instead of Set 2018-03-13 01:28:28 +00:00
context.rb irb.rb: restore the last error 2018-04-14 13:05:52 +00:00
extend-command.rb
frame.rb
help.rb
init.rb Remove unnecessary : 2017-12-12 15:01:07 +00:00
input-method.rb
inspector.rb
locale.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
magic-file.rb
notifier.rb
output-method.rb
ruby-lex.rb
ruby-token.rb
slex.rb
src_encoding.rb
version.rb
workspace.rb irb/{context,workspace}.rb: use local_variable_set 2018-04-14 12:49:30 +00:00
ws-for-case-2.rb
xmp.rb