Created
January 12, 2014 07:19
-
-
Save tomcha/8381886 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env ruby | |
print `clear` | |
STDOUT.flush | |
sleep(3) | |
strings = ["Wake up, Neo...","The Matrix has you..."," Follow the white rabbit.","Knock, knock, Neo"] | |
strings = ["お魚くわえたどら猫","追っかけて","はだしでかけてく","陽気なサザエさん","みんなが笑ってる","お日さまも笑ってる","ルルルルルル","明日はまた仕事"] if ARGV[0] == "--sazaesan" | |
strings.each do |say_string| | |
say_string.each_char do |s| | |
print s | |
STDOUT.flush | |
sleep(0.07) | |
end | |
print `clear` | |
sleep(5) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment