mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/unicode_normalize.rb: Changing module name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b95ec57da2
commit
588bbfd1b4
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Oct 19 10:10:10 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* lib/unicode_normalize.rb: Changing module name.
|
||||
|
||||
Sun Oct 19 10:08:08 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* lib/unicode_normalize.rb: Changing require statement,
|
||||
|
|
|
@ -6,7 +6,7 @@ require 'unicode_normalize/normalize.rb'
|
|||
|
||||
class String
|
||||
def normalize(form = :nfc)
|
||||
Normalize.normalize(self, form)
|
||||
UnicodeNormalize.normalize(self, form)
|
||||
end
|
||||
|
||||
def normalize!(form = :nfc)
|
||||
|
@ -14,7 +14,7 @@ class String
|
|||
end
|
||||
|
||||
def normalized?(form = :nfc)
|
||||
Normalize.normalized?(self, form)
|
||||
UnicodeNormalize.normalized?(self, form)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue