Sha256: f605fe04398a16de919a0117e05209176180a825ede3aa60293e33ce210a3f9a

Contents?: true

Size: 204 Bytes

Versions: 5

Compression:

Stored size: 204 Bytes

Contents

# frozen_string_literal: true

require_relative "../lib/tty-spinner"

spinner = TTY::Spinner.new("Loading :spinner ... ", format: :spin_2)
20.times do
  spinner.spin
  sleep(0.1)
end
spinner.stop("done")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
planter-cli-3.0.7 lib/tty-spinner/examples/basic.rb
planter-cli-3.0.5 lib/tty-spinner/examples/basic.rb
planter-cli-3.0.4 lib/tty-spinner/examples/basic.rb
planter-cli-3.0.3 lib/tty-spinner/examples/basic.rb
planter-cli-3.0.2 lib/tty-spinner/examples/basic.rb