Sha256: f048a2e3b2049b577775557ce135a8b2c6f71c8a60da9a8c80b64cc256edc396
Contents?: true
Size: 290 Bytes
Versions: 5
Compression:
Stored size: 290 Bytes
Contents
# frozen_string_literal: true require_relative "../lib/tty-spinner" TTY::Formats::FORMATS.each_key do |token| options = {format: token, hide_cursor: true} spinner = TTY::Spinner.new("#{token}: :spinner", options) 20.times do spinner.spin sleep(0.1) end spinner.stop end
Version data entries
5 entries across 5 versions & 1 rubygems