class Pinwheel

Public Class Methods

new() click to toggle source
# File lib/salesforcedeploytool/functions.rb, line 4
def initialize
  @pinwheel = %w{| / - \\}
end

Public Instance Methods

clean() click to toggle source
# File lib/salesforcedeploytool/functions.rb, line 12
def clean
  print "\b"
end
spin_it() click to toggle source
# File lib/salesforcedeploytool/functions.rb, line 8
def spin_it
  print "\b" + @pinwheel.rotate!.first
end