diff options
Diffstat (limited to 'lib/unicode_normalize.rb')
-rw-r--r-- | lib/unicode_normalize.rb | 6 |
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 |