Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/dictuby/string.rb
Instance Method Summary collapse
Instance Method Details
#normalize ⇒ Object
3 4 5 |
# File 'lib/dictuby/string.rb', line 3 def normalize I18n.transliterate(self) end |
#normalize! ⇒ Object
7 8 9 |
# File 'lib/dictuby/string.rb', line 7 def normalize! replace(I18n.transliterate(self)) end |