Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/killnfd.rb
Instance Method Summary collapse
Instance Method Details
#is_nfd? ⇒ Boolean
12 13 14 |
# File 'lib/killnfd.rb', line 12 def is_nfd? ! self.unicode_normalized?(:nfc) end |
#to_nfc ⇒ Object
4 5 6 |
# File 'lib/killnfd.rb', line 4 def to_nfc self.unicode_normalize(:nfc) end |
#to_nfd ⇒ Object
8 9 10 |
# File 'lib/killnfd.rb', line 8 def to_nfd self.unicode_normalize(:nfd) end |