Class: Spaceship::Globals

Inherits:
Object
  • Object
show all
Defined in:
spaceship/lib/spaceship/globals.rb

Class Method Summary collapse

Class Method Details

.verbose?Boolean

if spaceship is run with a FastlaneCore available respect the global state there otherwise fallback to $verbose

Returns:

  • (Boolean)


5
6
7
8
9
10
# File 'spaceship/lib/spaceship/globals.rb', line 5

def self.verbose?
  if Object.const_defined?("FastlaneCore")
    return FastlaneCore::Globals.verbose? # rubocop:disable Require/MissingRequireStatement
  end
  return $verbose
end