ruby-uebungen/Assignment_040/solution/readme.md

134 B

Lösung: Singleton Methoden

s1 = "Hallo"
s2 = "Welt"

def s2.to_leet
  self.tr('aeiou', '43107')
end

puts s2.to_leet