1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suppress uninitialized instance variable warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-12-14 01:29:23 +00:00
parent e4c79d0d10
commit 65dd1434b3

View file

@ -14,7 +14,7 @@ class TestIO_Console < Test::Unit::TestCase
end end
def set_winsize_teardown def set_winsize_teardown
trap(:TTOU, @old_ttou) if @old_ttou trap(:TTOU, @old_ttou) if defined?(@old_ttou) and @old_ttou
end end
end end