Class: TTY::Spinner

Inherits:
Object
  • Object
show all
Defined in:
lib/pdk/cli/util/spinner.rb

Instance Method Summary collapse

Instance Method Details

#tty?Boolean

Returns:

  • (Boolean)


7
8
9
10
11
# File 'lib/pdk/cli/util/spinner.rb', line 7

def tty?
  require 'pdk/cli/util'

  PDK::CLI::Util.interactive?
end