1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
a_matsuda 2015-12-27 09:59:31 +00:00
parent 4155804448
commit e5cd6d0d9f

View file

@ -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)