Class: Utils::Analytics::FormulaHistory::Package 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(blob:, builds:, versions: [], updated_at: 0, unknown_at: 0) ⇒ void

Parameters:



# File ''

prop :blob, String
prop :builds, T::Hash[String, Build]
prop :versions, T::Array[String], default: []
prop :updated_at, Integer, default: 0
prop :unknown_at, Integer, default: 0

Instance Attribute Details

#blob ⇒ String

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 blob.

Returns:



# File ''

prop :blob, String

#builds ⇒ Hash{String => Build}

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 builds.

Returns:



# File ''

prop :builds, T::Hash[String, Build]

#unknown_at ⇒ Integer

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 unknown_at.

Returns:



# File ''

prop :unknown_at, Integer, default: 0

#updated_at ⇒ Integer

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 updated_at.

Returns:



# File ''

prop :updated_at, Integer, default: 0

#versions ⇒ Array<String>

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 versions.

Returns:



# File ''

prop :versions, T::Array[String], default: []