lib/bin_install/shell.rb in bin_install-0.0.18 vs lib/bin_install/shell.rb in bin_install-0.0.19

- old
+ new

@@ -36,7 +36,18 @@ end def self.profile_paths [File.expand_path('~/.zshrc'), File.expand_path('~/.bash_profile')] end + + def self.wait(seconds = 10) + print 'Please wait: '.purple + seconds.downto(1) do |i| + print "#{i}".purple + 3.times do + sleep(1/3.0) + print '.'.purple + end + end + end end end