examples/single.rb in whirly-0.2.3 vs examples/single.rb in whirly-0.2.4
- old
+ new
@@ -1,6 +1,6 @@
require_relative "../lib/whirly"
require "paint"
# Call a single spinner from the command-line
-Whirly.start(spinner: $*[0], status: $*[2] || $*[0], use_color: false){ sleep(($*[1] || 10).to_i) }
+Whirly.start(spinner: $*[0], status: $*[2] || $*[0], color: false){ sleep(($*[1] || 10).to_i) }