Class: FastlaneCore::Globals

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.capture_output=(value) ⇒ Object (writeonly)

Sets the attribute capture_output

Parameters:

  • value

    the value to set the attribute capture_output to.



9
10
11
# File 'fastlane_core/lib/fastlane_core/globals.rb', line 9

def capture_output=(value)
  @capture_output = value
end

.captured_outputObject



3
4
5
# File 'fastlane_core/lib/fastlane_core/globals.rb', line 3

def self.captured_output
  @captured_output ||= ""
end

.verbose=(value) ⇒ Object (writeonly)

Sets the attribute verbose

Parameters:

  • value

    the value to set the attribute verbose to.



10
11
12
# File 'fastlane_core/lib/fastlane_core/globals.rb', line 10

def verbose=(value)
  @verbose = value
end

Class Method Details

.capture_output?Boolean

Returns:



13
14
15
16
# File 'fastlane_core/lib/fastlane_core/globals.rb', line 13

def self.capture_output?
  return nil unless @capture_output
  return true
end

.captured_output?Boolean

Returns:



18
19
20
# File 'fastlane_core/lib/fastlane_core/globals.rb', line 18

def self.captured_output?
  @capture_output && @captured_output.to_s.length > 0
end

.verbose?Boolean

Returns:



22
23
24
25
# File 'fastlane_core/lib/fastlane_core/globals.rb', line 22

def self.verbose?
  return nil unless @verbose
  return true
end