Class: Spaceship::Globals
- Inherits:
-
Object
- Object
- Spaceship::Globals
- Defined in:
- spaceship/lib/spaceship/globals.rb
Class Attribute Summary collapse
-
.check_session ⇒ Object
if spaceship is run with the –check_session flag this value will be set to true.
Class Method Summary collapse
-
.verbose? ⇒ Boolean
if spaceship is run with a FastlaneCore available respect the global state there otherwise fallback to $verbose.
Class Attribute Details
.check_session ⇒ Object
if spaceship is run with the –check_session flag this value will be set to true
17 18 19 |
# File 'spaceship/lib/spaceship/globals.rb', line 17 def self.check_session return @check_session end |
Class Method Details
.verbose? ⇒ Boolean
if spaceship is run with a FastlaneCore available respect the global state there otherwise fallback to $verbose
9 10 11 12 13 14 |
# File 'spaceship/lib/spaceship/globals.rb', line 9 def self.verbose? if Object.const_defined?("FastlaneCore") return FastlaneCore::Globals.verbose? # rubocop:disable Require/MissingRequireStatement end return $verbose end |