Class: Air18n::GermanToSwissGerman

Inherits:
Object
  • Object
show all
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