Class: Utils::Analytics::FormulaHistory::Build Private

Inherits:
T::Struct
  • Object
show all
Defined in:
utils/analytics/formula_history.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(version: nil, revision: 0, rebuild: 0, error: nil) ⇒ void

Parameters:

  • version (String, nil) (defaults to: nil)
  • revision (Integer) (defaults to: 0)
  • rebuild (Integer) (defaults to: 0)
  • error (String, nil) (defaults to: nil)


# File ''

const :version, T.nilable(String)
const :revision, Integer, default: 0
const :rebuild, Integer, default: 0
const :error, T.nilable(String)

Instance Attribute Details

#error ⇒ 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 the value of prop error.

Returns:



# File ''

const :error, T.nilable(String)

#rebuild ⇒ Integer (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 the value of prop rebuild.

Returns:



# File ''

const :rebuild, Integer, default: 0

#revision ⇒ Integer (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 the value of prop revision.

Returns:



# File ''

const :revision, Integer, default: 0

#version ⇒ 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 the value of prop version.

Returns:



# File ''

const :version, T.nilable(String)