mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
795cb77701
commit
3f8211a113
2 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue