lib/bin_install/shell.rb in bin_install-0.0.19 vs lib/bin_install/shell.rb in bin_install-0.0.20
- old
+ new
@@ -40,14 +40,16 @@
end
def self.wait(seconds = 10)
print 'Please wait: '.purple
seconds.downto(1) do |i|
- print "#{i}".purple
+ print i.to_s.purple
3.times do
- sleep(1/3.0)
+ sleep(0.25)
print '.'.purple
end
+ sleep(0.25)
end
+ print "\n"
end
end
end