Method: String#to_ascii
- Defined in:
- lib/unidecode.rb
#to_ascii ⇒ Object
Returns string with its UTF-8 characters transliterated to ASCII ones. Example:
"⠋⠗⠁⠝⠉⠑".to_ascii #=> "braille"
42 43 44 |
# File 'lib/unidecode.rb', line 42 def to_ascii Unidecoder::decode(self) end |