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:
parent
e4c79d0d10
commit
65dd1434b3
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user