# File lib/blimpy/fleet.rb, line 71 def animate buffer =""" _..--=--..._ .-' '-. .-. /.' '.\\/ / |=- B L I M P Y -=| ( \\'. .'/\\ \\ '-.,_____ _____.-' '-' [_____]=+ ~ ~""" frames = [ 'x~ ', 'x ~ ', '+~ ~ ', '+ ~ ~', '+ ~ ', 'x ~', ] print buffer $stdout.flush until @airborn do frames.each do |frame| # Reset every frame 5.times { print "\b" } print frame $stdout.flush sleep 0.2 end end end