summaryrefslogtreecommitdiff
path: root/lib/unicode_normalize
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-06 15:00:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-06 15:00:14 +0000
commit64034372b7a4faac73628f5ec1060eaf8d550919 (patch)
tree80fa89073d1b383d62b0f1d9bef5c3e0f70a4279 /lib/unicode_normalize
parent1f53145dd467ebdb5d25a234f69d774ba0086afe (diff)
normalize.rb: explicit separator
* lib/unicode_normalize/normalize.rb (canonical_ordering_one): use explicit separator, not to depend on $,. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/unicode_normalize')
-rw-r--r--lib/unicode_normalize/normalize.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicode_normalize/normalize.rb b/lib/unicode_normalize/normalize.rb
index 08cf5fa..1e8fcd8 100644
--- a/lib/unicode_normalize/normalize.rb
+++ b/lib/unicode_normalize/normalize.rb
@@ -79,7 +79,7 @@ module UnicodeNormalize
end
end
end
- return sorting.collect(&:first).join
+ return sorting.collect(&:first).join('')
end
## Normalization Forms for Patterns (not whole Strings)