ruby-changes:41271
From: a_matsuda <ko1@a...>
Date: Sun, 27 Dec 2015 18:59:43 +0900 (JST)
Subject: [ruby-changes:41271] a_matsuda:r53343 (trunk): Method name typo in a Tk sample
a_matsuda 2015-12-27 18:59:31 +0900 (Sun, 27 Dec 2015) New Revision: 53343 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53343 Log: Method name typo in a Tk sample * ext/tk/sample/tkextlib/treectrl/help.rb: kength => length Modified files: trunk/ext/tk/sample/tkextlib/treectrl/help.rb Index: ext/tk/sample/tkextlib/treectrl/help.rb =================================================================== --- ext/tk/sample/tkextlib/treectrl/help.rb (revision 53342) +++ ext/tk/sample/tkextlib/treectrl/help.rb (revision 53343) @@ -382,7 +382,7 @@ def helpMotion2(w, x, y) https://github.com/ruby/ruby/blob/trunk/ext/tk/sample/tkextlib/treectrl/help.rb#L382 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/