* lib/unicode_normalize.rb: (unicode_normalize!): change method name.

catch up the method name change at r48014. [Feature #10084]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2014-10-19 14:34:20 +00:00
Родитель 795cb77701
Коммит 3f8211a113
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Sun Oct 19 23:31:29 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
* lib/unicode_normalize.rb: (unicode_normalize!): change method name.
catch up the method name change at r48014. [Feature #10084]
Sun Oct 19 20:05:58 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* ext/tk/lib/tkextlib/tile/treeview.rb: fix syntax error.

Просмотреть файл

@ -47,7 +47,7 @@ class String
def unicode_normalize!(form = :nfc)
require 'unicode_normalize/normalize.rb' unless defined? UnicodeNormalize
# String.send(:define_method, :normalize!, ->(form = :nfc) { replace(normalize(form)) } )
replace(self.normalize(form))
replace(self.unicode_normalize(form))
end
# :call-seq: