Sha256: 0debbdc011d78a40fe00b7177467ff2863952fbb71df78e9f2b4b096ad8a7df7
Contents?: true
Size: 399 Bytes
Versions: 5
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true require_relative "../../lib/tty-spinner" spinners = TTY::Spinner::Multi.new("[:spinner]") sp1 = spinners.register("[:spinner] one") sp2 = spinners.register("[:spinner] two") sp3 = spinners.register("[:spinner] three") sp1.auto_spin sp2.auto_spin sp3.auto_spin sleep(1) spinners.pause sleep(1) spinners.resume sleep(1) sp1.stop sp2.stop sp3.stop spinners.stop
Version data entries
5 entries across 5 versions & 1 rubygems