Skip to content

Instantly share code, notes, and snippets.

@wavebeem
Created Jul 11, 2016
Embed
What would you like to do?
#!/usr/bin/env ruby
def spin
("\u{1F550}" .. "\u{1F55B}").cycle.each do |moji|
print moji, " "
sleep 0.1
print "\r"
end
end
begin
spin
rescue Interrupt
puts
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment