Class: Utils::Analytics::FormulaHistory::Checkpoint 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(signature:, start_year:, baseline:, seeded: false, head: "", packages: {}, years: {}) ⇒ void

Parameters:



# File ''

const :signature, String
const :start_year, Integer
const :baseline, String
prop :seeded, T::Boolean, default: false
prop :head, String, default: ""
prop :packages, T::Hash[String, Package], default: {}
prop :years, T::Hash[String, T::Hash[String, Integer]], default: {}

Instance Attribute Details

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

Returns:



# File ''

const :baseline, String

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

Returns:



# File ''

prop :head, String, default: ""

#packages ⇒ Hash{String => Package}

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

Returns:



# File ''

prop :packages, T::Hash[String, Package], default: {}

#seeded ⇒ Boolean

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

Returns:

  • (Boolean)


# File ''

prop :seeded, T::Boolean, default: false

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

Returns:



# File ''

const :signature, String

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

Returns:



# File ''

const :start_year, Integer

#years ⇒ Hash{String => Hash{String => 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 years.

Returns:



# File ''

prop :years, T::Hash[String, T::Hash[String, Integer]], default: {}