Spinning rod animation/Text: Difference between revisions
→{{header|Ruby}}: Changed charset to Raku's
(add lambdatalk code) |
(→{{header|Ruby}}: Changed charset to Raku's) |
||
Line 1,412:
=={{header|Ruby}}==
Chars taken from the Raku example.
<syntaxhighlight lang="ruby">def spinning_rod
begin
printf("\033[?25l") # Hide cursor
print rod
sleep 0.25
print "\
end
ensure
|