Created
December 11, 2013 02:08
-
-
Save rbk/7904050 to your computer and use it in GitHub Desktop.
Tut test code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tut.to_tut( "Wow! Look at this get converted to Tut!" ) { |c| puts c } | |
# should outout : Wutowut! Lutookut atut tuthutisut gutetut cutonutvuteruttutedut tuto Tututut! | |
tut_string = "" | |
Tut.to_tut( "I'm in tut but I want to be in english." ) { |c| tut_string += c } | |
puts tut_string | |
# should output : I'mut inut tututut bututut I wutanuttut tuto bute inut enutgutlutisuthut. | |
Tut.to_english( tut_string ) { |c| print c } | |
# should output : I'm in tut but I want to be in english. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment