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

ruby-changes:35933

From: duerst <ko1@a...>
Date: Sun, 19 Oct 2014 10:12:31 +0900 (JST)
Subject: [ruby-changes:35933] duerst:r48014 (trunk): lib/unicode_normalize.rb: Changing method names, see https://bugs.ruby-lang.org/issues/10084#note-7

duerst	2014-10-19 10:12:26 +0900 (Sun, 19 Oct 2014)

  New Revision: 48014

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

  Log:
    lib/unicode_normalize.rb: Changing method names, see https://bugs.ruby-lang.org/issues/10084#note-7

  Modified files:
    trunk/ChangeLog
    trunk/lib/unicode_normalize.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48013)
+++ ChangeLog	(revision 48014)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Oct 19 10:12:12 2014  Martin Duerst <duerst@i...>
+
+	* lib/unicode_normalize.rb: Changing method names, see
+	  https://bugs.ruby-lang.org/issues/10084#note-7
+
 Sun Oct 19 10:10:10 2014  Martin Duerst <duerst@i...>
 
 	* lib/unicode_normalize.rb: Changing module name.
Index: lib/unicode_normalize.rb
===================================================================
--- lib/unicode_normalize.rb	(revision 48013)
+++ lib/unicode_normalize.rb	(revision 48014)
@@ -5,15 +5,15 @@ https://github.com/ruby/ruby/blob/trunk/lib/unicode_normalize.rb#L5
 require 'unicode_normalize/normalize.rb'
 
 class String
-  def normalize(form = :nfc)
+  def unicode_normalize(form = :nfc)
     UnicodeNormalize.normalize(self, form)
   end
 
-  def normalize!(form = :nfc)
+  def unicode_normalize!(form = :nfc)
     replace(self.normalize(form))
   end
 
-  def normalized?(form = :nfc)
+  def unicode_normalized?(form = :nfc)
     UnicodeNormalize.normalized?(self, form)
   end
 end

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

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