зеркало из https://github.com/github/ruby.git
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:
Родитель
b95ec57da2
Коммит
588bbfd1b4
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче