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:



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

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

Instance Attribute Details

#output ⇒ String (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:



549
550
551
# File 'services/formula_wrapper.rb', line 549

def output
  @output
end

#service_name ⇒ String (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:



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

def service_name
  @service_name
end

#success ⇒ Boolean (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)


552
553
554
# File 'services/formula_wrapper.rb', line 552

def success
  @success
end

#type ⇒ Symbol (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:



555
556
557
# File 'services/formula_wrapper.rb', line 555

def type
  @type
end