mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Ensure to restore $VERBOSE
https://github.com/ruby/irb/commit/cef474a76a
This commit is contained in:
parent
0123bc9d38
commit
903af74bbd
2 changed files with 3 additions and 1 deletions
|
@ -192,6 +192,7 @@ module IRB # :nodoc:
|
|||
end
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
||||
|
|
|
@ -139,8 +139,9 @@ class RubyLex
|
|||
tokens = lexer.parse
|
||||
end
|
||||
end
|
||||
$VERBOSE = verbose
|
||||
tokens
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
||||
def find_prev_spaces(line_index)
|
||||
|
|
Loading…
Reference in a new issue