Class: Homebrew::Services::FormulaWrapper::StatusOutputSuccessType Private

Inherits:
Object
  • Object
show all
Defined in:
services/formula_wrapper.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output, success, type, service_name) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:



569
570
571
572
573
574
# File 'services/formula_wrapper.rb', line 569

def initialize(output, success, type, service_name)
  @output = output
  @success = success
  @type = type
  @service_name = service_name
end

Instance Attribute Details

#outputString (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



557
558
559
# File 'services/formula_wrapper.rb', line 557

def output
  @output
end

#service_nameString (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



566
567
568
# File 'services/formula_wrapper.rb', line 566

def service_name
  @service_name
end

#successBoolean (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:

  • (Boolean)


560
561
562
# File 'services/formula_wrapper.rb', line 560

def success
  @success
end

#typeSymbol (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



563
564
565
# File 'services/formula_wrapper.rb', line 563

def type
  @type
end