Method: LuckySneaks::StringExtensions#remove_formatting
- Defined in:
- lib/lucky_sneaks/string_extensions.rb
#remove_formatting ⇒ Object
Performs multiple text manipulations. Essentially a shortcut for typing them all. View source below to see which methods are run.
44 45 46 47 48 49 50 51 |
# File 'lib/lucky_sneaks/string_extensions.rb', line 44 def remove_formatting . convert_german_umlauts. convert_accented_entities. convert_misc_entities. convert_misc_characters. to_ascii.collapse end |