Class: Air18n::GermanToSwissGerman
- Inherits:
-
Object
- Object
- Air18n::GermanToSwissGerman
- Defined in:
- lib/air18n/prim_and_proper.rb
Overview
Swiss German replaces German “ß” with “ss”.
Instance Method Summary collapse
Instance Method Details
#convert(text) ⇒ Object
158 159 160 |
# File 'lib/air18n/prim_and_proper.rb', line 158 def convert(text) text.gsub('ß', 'ss').gsub('ẞ', 'SS') end |