58bc23516c | ||
---|---|---|
.. | ||
readme.md |
readme.md
Lösung: Singleton Methoden
s1 = "Hallo"
s2 = "Welt"
def s2.to_leet
self.tr('aeiou', '43107')
end
puts s2.to_leet
58bc23516c | ||
---|---|---|
.. | ||
readme.md |
s1 = "Hallo"
s2 = "Welt"
def s2.to_leet
self.tr('aeiou', '43107')
end
puts s2.to_leet