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

ruby-changes:36227

From: nobu <ko1@a...>
Date: Fri, 7 Nov 2014 00:00:22 +0900 (JST)
Subject: [ruby-changes:36227] nobu:r48308 (trunk): normalize.rb: explicit separator

nobu	2014-11-07 00:00:14 +0900 (Fri, 07 Nov 2014)

  New Revision: 48308

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

  Log:
    normalize.rb: explicit separator
    
    * lib/unicode_normalize/normalize.rb (canonical_ordering_one):
      use explicit separator, not to depend on $,.

  Modified files:
    trunk/lib/unicode_normalize/normalize.rb
Index: lib/unicode_normalize/normalize.rb
===================================================================
--- lib/unicode_normalize/normalize.rb	(revision 48307)
+++ lib/unicode_normalize/normalize.rb	(revision 48308)
@@ -79,7 +79,7 @@ module UnicodeNormalize https://github.com/ruby/ruby/blob/trunk/lib/unicode_normalize/normalize.rb#L79
         end
       end
     end
-    return sorting.collect(&:first).join
+    return sorting.collect(&:first).join('')
   end
 
   ## Normalization Forms for Patterns (not whole Strings)

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

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