Sha256: f220729ebcd91b7a6d892e36dedc70c549eec6d37d786150c153733c930e1a8b

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

require_relative "../lib/whirly"
require "paint"

# Demonstrate the look of using multiple spinners

Whirly.configure(spinner: "dots", stop: "✔")

Whirly.start status: "Processing" do
  sleep 2
end

Whirly.start status: "More processing" do
  sleep 2
end

Whirly.start status: "Even more processing" do
  sleep 2
end

puts "Done"

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
whirly-0.3.0 examples/multi_lines.rb
murano-cli-whirly-0.2.7 examples/multi_lines.rb
whirly-0.2.6 examples/multi_lines.rb
whirly-0.2.5 examples/multi_lines.rb
whirly-0.2.4 examples/multi_lines.rb
whirly-0.2.3 examples/multi_lines.rb
whirly-0.2.2 examples/multi_lines.rb
whirly-0.2.1 examples/multi_lines.rb
whirly-0.2.0 examples/multi_lines.rb