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:
parent
e4c79d0d10
commit
65dd1434b3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class TestIO_Console < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def set_winsize_teardown
|
||||
trap(:TTOU, @old_ttou) if @old_ttou
|
||||
trap(:TTOU, @old_ttou) if defined?(@old_ttou) and @old_ttou
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue