aboutsummaryrefslogtreecommitdiffstats
path: root/ext
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
commita7e8d726a8018c4f9d5c5f79b9eae1b9c45b324b (patch)
tree8c4c6043c24c9c89892887b37526ee202c0a64fb /ext
parentf031dc4dea23777617eeefe5ad3a20dd794697f0 (diff)
downloadruby-a7e8d726a8018c4f9d5c5f79b9eae1b9c45b324b.tar.gz
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')
-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 e3758d00a6..251330277b 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)