/TEA_YOURSELF

TEA YOURSELF(モールス符号の法則に従って文字列を変換)

Primary LanguageRuby

convert String to TEA YOURSELF

TEAYOURSELF.do('E')
=>'TEA'
TEAYOURSELF.do('T')
=>'YOURSELF'
TEAYOURSELF.do('A')
=>'TEA YOURSELF'
TEAYOURSELF.do('SOS')
=>'TEA TEA TEA YOURSELF YOURSELF YOURSELF TEA TEA TEA'
TEAYOURSELF.do('TEA YOURSELF')
=>'YOURSELF TEA TEA YOURSELF YOURSELF TEA YOURSELF YOURSELF YOURSELF YOURSELF YOURSELF TEA TEA YOURSELF TEA YOURSELF TEA TEA TEA TEA TEA TEA YOURSELF TEA TEA TEA TEA YOURSELF TEA'