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

ruby-changes:35946

From: nagachika <ko1@a...>
Date: Sun, 19 Oct 2014 23:34:33 +0900 (JST)
Subject: [ruby-changes:35946] nagachika:r48027 (trunk): * lib/unicode_normalize.rb: (unicode_normalize!): change method name.

nagachika	2014-10-19 23:34:20 +0900 (Sun, 19 Oct 2014)

  New Revision: 48027

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

  Log:
    * lib/unicode_normalize.rb: (unicode_normalize!): change method name.
      catch up the method name change at r48014. [Feature #10084]

  Modified files:
    trunk/ChangeLog
    trunk/lib/unicode_normalize.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48026)
+++ ChangeLog	(revision 48027)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Oct 19 23:31:29 2014  CHIKANAGA Tomoyuki  <nagachika@r...>
+
+	* lib/unicode_normalize.rb: (unicode_normalize!): change method name.
+	  catch up the method name change at r48014. [Feature #10084]
+
 Sun Oct 19 20:05:58 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* ext/tk/lib/tkextlib/tile/treeview.rb: fix syntax error.
Index: lib/unicode_normalize.rb
===================================================================
--- lib/unicode_normalize.rb	(revision 48026)
+++ lib/unicode_normalize.rb	(revision 48027)
@@ -47,7 +47,7 @@ class String https://github.com/ruby/ruby/blob/trunk/lib/unicode_normalize.rb#L47
   def unicode_normalize!(form = :nfc)
     require 'unicode_normalize/normalize.rb' unless defined? UnicodeNormalize
     # String.send(:define_method, :normalize!, ->(form = :nfc) { replace(normalize(form)) } )
-    replace(self.normalize(form))
+    replace(self.unicode_normalize(form))
   end
 
   # :call-seq:

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

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