Class: Utils::Analytics::FormulaHistory::Commit 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(revision:, timestamp:, changes: []) ⇒ void

Parameters:



# File ''

const :revision, String
const :timestamp, Integer
const :changes, T::Array[Change], default: []

Instance Attribute Details

#changes ⇒ Array<Change> (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 changes.

Returns:



# File ''

const :changes, T::Array[Change], default: []

#revision ⇒ 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 revision.

Returns:



# File ''

const :revision, String

#timestamp ⇒ 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 timestamp.

Returns:



# File ''

const :timestamp, Integer