summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:58:58 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:58:58 +0000
commit87c817fa6f8d15b86d907be4b6b493f11a3e4f4f (patch)
treea984fd8f3b898e1cc14196d846313205df466e10 /ext/tk/sample
parente04b5c3e23dde44c8fb75449ff81ff1424a4c615 (diff)
ivar name typo in a Tk sample
* ext/tk/sample/tktextio.rb: @opne => @open git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/tktextio.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tktextio.rb b/ext/tk/sample/tktextio.rb
index 5525892..5b6bb9c 100644
--- a/ext/tk/sample/tktextio.rb
+++ b/ext/tk/sample/tktextio.rb
@@ -421,7 +421,7 @@ class TkTextIO < TkText
nil
end
def close_write
- @open[:w] = false if @opne[:w]
+ @open[:w] = false if @open[:w]
nil
end