mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/unicode_normalize.rb: removing unnecessary 'self'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8b99ce9656
commit
ce351cf0a7
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
Mon Oct 20 12:46:46 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* lib/unicode_normalize.rb: removing unnecessary 'self'.
|
||||
|
||||
Mon Oct 20 12:37:37 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* lib/unicode_normalize.rb: (unicode_normalize!): change method names
|
||||
* lib/unicode_normalize.rb: change method names
|
||||
in commented-out code. Followup to r48027.
|
||||
|
||||
Mon Oct 20 02:23:27 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
|
|
@ -47,7 +47,7 @@ class String
|
|||
def unicode_normalize!(form = :nfc)
|
||||
require 'unicode_normalize/normalize.rb' unless defined? UnicodeNormalize
|
||||
# String.send(:define_method, :unicode_normalize!, ->(form = :nfc) { replace(unicode_normalize(form)) } )
|
||||
replace(self.unicode_normalize(form))
|
||||
replace(unicode_normalize(form))
|
||||
end
|
||||
|
||||
# :call-seq:
|
||||
|
|
Loading…
Reference in a new issue