summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-19 01:12:26 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-19 01:12:26 +0000
commitdfb68b3d21901da1908a94a721e135b4d8fc97dc (patch)
treedcfdcec7d5dbee7ea43fe9f3e97cb25b0de29c0c /lib
parent588bbfd1b4e68172fc3d205776e43664da46d8c0 (diff)
lib/unicode_normalize.rb: Changing method names, see https://bugs.ruby-lang.org/issues/10084#note-7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/unicode_normalize.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/unicode_normalize.rb b/lib/unicode_normalize.rb
index d8255377fd..909aa0528b 100644
--- a/lib/unicode_normalize.rb
+++ b/lib/unicode_normalize.rb
@@ -5,15 +5,15 @@
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