[前][次][番号順一覧][スレッド一覧]

ruby-changes:41269

From: a_matsuda <ko1@a...>
Date: Sun, 27 Dec 2015 18:59:23 +0900 (JST)
Subject: [ruby-changes:41269] a_matsuda:r53341 (trunk): Method name typo in a Tk sample

a_matsuda	2015-12-27 18:59:13 +0900 (Sun, 27 Dec 2015)

  New Revision: 53341

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53341

  Log:
    Method name typo in a Tk sample
    
    * ext/tk/sample/tktextio.rb: trancate => truncate

  Modified files:
    trunk/ext/tk/sample/tktextio.rb
Index: ext/tk/sample/tktextio.rb
===================================================================
--- ext/tk/sample/tktextio.rb	(revision 53340)
+++ ext/tk/sample/tktextio.rb	(revision 53341)
@@ -836,7 +836,7 @@ class TkTextIO < TkText https://github.com/ruby/ruby/blob/trunk/ext/tk/sample/tktextio.rb#L836
     self
   end
 
-  def trancate(len)
+  def truncate(len)
     delete("1.0 + #{len} char", :end)
     0
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]