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 Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
lc Removed math mode from irb. 2017-04-20 09:11:36 +00:00
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 Removed math mode from irb. 2017-04-20 09:11:36 +00:00
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 Don't pollute toplevel by an IRB internal method 2017-06-15 10:43:17 +00:00
notifier.rb
output-method.rb
ruby-lex.rb ruby-lex.rb: fix continued line conditions 2017-04-20 11:07:02 +00:00
ruby-token.rb
slex.rb
src_encoding.rb Don't pollute toplevel by an IRB internal method 2017-06-15 10:43:17 +00:00
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