Sha256: 62b948192fae52c1433553b6ae33f5fcf3c7e3fee5c4d2b12f7638ea3a2db559

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

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) }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whirly-0.2.3 examples/single.rb
whirly-0.2.2 examples/single.rb
whirly-0.2.1 examples/single.rb
whirly-0.2.0 examples/single.rb