summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:59:31 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-27 09:59:31 +0000
commite5cd6d0d9f47d642cceb4dbfc36e399f92684895 (patch)
tree8c4c6043c24c9c89892887b37526ee202c0a64fb /ext/tk/sample
parent4155804448c26efccaaba8161be6ab88b1d677ac (diff)
Method name typo in a Tk sample
* ext/tk/sample/tkextlib/treectrl/help.rb: kength => length git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/tkextlib/treectrl/help.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/treectrl/help.rb b/ext/tk/sample/tkextlib/treectrl/help.rb
index e3758d0..2513302 100644
--- a/ext/tk/sample/tkextlib/treectrl/help.rb
+++ b/ext/tk/sample/tkextlib/treectrl/help.rb
@@ -382,7 +382,7 @@ def helpMotion2(w, x, y)
if id[0] == 'header'
elsif !id.empty?
item = id[1]
- if id.kength == 6
+ if id.length == 6
if @Priv[:help, :prev] != TkComm._get_eval_string(item)
if @Priv[:help, :prev] != ''
style = w.item_style_set(@Priv[:help, :prev], 0)