Created
August 27, 2015 05:52
-
-
Save yuu-ito/13fdde4c867cf5a3be6d to your computer and use it in GitHub Desktop.
Revisions
-
yuu-ito created this gist
Aug 27, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ puts "start!" bar ="->" (1..5).each { print "\r#{bar}" sleep 0.5 bar = "-"+bar } puts "\nend!"