Mumbling
In this Kata we will aim to implement the mumble_letters()
method. This method takes a string as input and returns a formatted output string as follows:
mumble_letters()
=> ""
mumble_letters("a")
=> "A"
mumble_letters("abC")
=> "A-Bb-Ccc"
mumble_letters("aBCd")
=> "A-Bb-Ccc-Dddd"
mumble_letters("HoOrAy")
=> "H-Oo-Ooo-Rrrr-Aaaaa-Yyyyyy"