Class: String

Inherits:
Object
  • Object
show all
Includes:
UTF8Proc::StringExtension
Defined in:
lib/utf8_proc/core_ext/string.rb,
lib/utf8_proc/core_ext/string_jruby.rb

Instance Method Summary collapse

Instance Method Details

#NFCObject



10
11
12
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 10

def NFC
  ::UTF8Proc.NFC(self)
end

#NFDObject



14
15
16
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 14

def NFD
  ::UTF8Proc.NFD(self)
end

#NFKCObject



18
19
20
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 18

def NFKC
  ::UTF8Proc.NFKC(self)
end

#NFKC_CFObject



26
27
28
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 26

def NFKC_CF
  ::UTF8Proc.NFKC_CF(self)
end

#NFKDObject



22
23
24
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 22

def NFKD
  ::UTF8Proc.NFKD(self)
end

#normalize(form = :nfc) ⇒ Object



30
31
32
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 30

def normalize(form = :nfc)
  ::UTF8Proc.normalize(self, form)
end