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

ruby-changes:3561

From: ko1@a...
Date: Mon, 14 Jan 2008 23:38:01 +0900 (JST)
Subject: [ruby-changes:3561] naruse - Ruby:r15050 (trunk): * ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.

naruse	2008-01-14 23:37:29 +0900 (Mon, 14 Jan 2008)

  New Revision: 15050

  Modified files:
    trunk/ChangeLog
    trunk/ext/nkf/lib/kconv.rb

  Log:
    * ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15050&r2=15049&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/nkf/lib/kconv.rb?r1=15050&r2=15049&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 15049)
+++ ChangeLog	(revision 15050)
@@ -1,3 +1,7 @@
+Mon Jan 14 23:33:02 2008  NARUSE, Yui  <naruse@r...>
+
+	* ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.
+
 Mon Jan 14 23:31:05 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
Index: ext/nkf/lib/kconv.rb
===================================================================
--- ext/nkf/lib/kconv.rb	(revision 15049)
+++ ext/nkf/lib/kconv.rb	(revision 15050)
@@ -124,7 +124,7 @@
   #    Kconv.tolocale   => string
   #
   # Convert <code>self</code> to locale encoding
-  def tolocale
+  def tolocale(str)
     kconv(str, Encoding.locale_charmap)
   end
   module_function :tolocale

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

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