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
|
end
|
||||||
end
|
end
|
||||||
|
ensure
|
||||||
$VERBOSE = verbose
|
$VERBOSE = verbose
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -139,8 +139,9 @@ class RubyLex
|
||||||
tokens = lexer.parse
|
tokens = lexer.parse
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
$VERBOSE = verbose
|
|
||||||
tokens
|
tokens
|
||||||
|
ensure
|
||||||
|
$VERBOSE = verbose
|
||||||
end
|
end
|
||||||
|
|
||||||
def find_prev_spaces(line_index)
|
def find_prev_spaces(line_index)
|
||||||
|
|
Loading…
Add table
Reference in a new issue