Class: String
- Inherits:
-
Object
- Object
- String
- Includes:
- UTF8Proc::StringExtension
- Defined in:
- lib/utf8_proc/core_ext/string.rb,
lib/utf8_proc/core_ext/string_jruby.rb
Instance Method Summary collapse
- #NFC ⇒ Object
- #NFD ⇒ Object
- #NFKC ⇒ Object
- #NFKC_CF ⇒ Object
- #NFKD ⇒ Object
- #normalize(form = :nfc) ⇒ Object
Instance Method Details
#NFC ⇒ Object
10 11 12 |
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 10 def NFC ::UTF8Proc.NFC(self) end |
#NFD ⇒ Object
14 15 16 |
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 14 def NFD ::UTF8Proc.NFD(self) end |
#NFKC ⇒ Object
18 19 20 |
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 18 def NFKC ::UTF8Proc.NFKC(self) end |
#NFKC_CF ⇒ Object
26 27 28 |
# File 'lib/utf8_proc/core_ext/string_jruby.rb', line 26 def NFKC_CF ::UTF8Proc.NFKC_CF(self) end |
#NFKD ⇒ Object
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 |