Class: VersionChange Private

Inherits:
T::Struct
  • Object
show all
Defined in:
version_change.rb

Overview

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.

A package version change as listed in install and upgrade summaries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, old_version: nil, new_version:, size: nil) ⇒ void

Parameters:

  • name (String)
  • old_version (String, nil) (defaults to: nil)
  • new_version (String)
  • size (String, nil) (defaults to: nil) —

    The download size, e.g. 2.4MB.



# File ''

const :name, String
const :old_version, T.nilable(String), default: nil
const :new_version, String
const :size, T.nilable(String), default: nil

Instance Attribute Details

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

Returns:



# File ''

const :name, String

#new_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 new_version.

Returns:



# File ''

const :new_version, String

#old_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 old_version.

Returns:



# File ''

const :old_version, T.nilable(String), default: nil

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

The download size, e.g. 2.4MB.

Returns:



# File ''

const :size, T.nilable(String), default: nil