Class: Utils::InfoDisplay::Title Private

Inherits:
T::Struct
  • Object
show all
Defined in:
utils/info_display.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(name:, display_names: [], version: nil, installed_version: nil, installed: false, outdated: false, warning: false, removed: false, stable: false, bottled: false, head: false, keg_only: false, auto_updates: false) ⇒ void

Parameters:

  • name (String)
  • display_names (Array<String>) (defaults to: [])
  • version (String, nil) (defaults to: nil)
  • installed_version (String, nil) (defaults to: nil)
  • installed (Boolean) (defaults to: false)
  • outdated (Boolean) (defaults to: false)
  • warning (Boolean) (defaults to: false)
  • removed (Boolean) (defaults to: false)
  • stable (Boolean) (defaults to: false)
  • bottled (Boolean) (defaults to: false)
  • head (Boolean) (defaults to: false)
  • keg_only (Boolean) (defaults to: false)
  • auto_updates (Boolean) (defaults to: false)


# File ''

const :name, String
const :display_names, T::Array[String], default: []
const :version, T.nilable(String), default: nil
const :installed_version, T.nilable(String), default: nil
const :installed, T::Boolean, default: false
const :outdated, T::Boolean, default: false
const :warning, T::Boolean, default: false
const :removed, T::Boolean, default: false
const :stable, T::Boolean, default: false
const :bottled, T::Boolean, default: false
const :head, T::Boolean, default: false
const :keg_only, T::Boolean, default: false
const :auto_updates, T::Boolean, default: false

Instance Attribute Details

#auto_updates ⇒ Boolean (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 auto_updates.

Returns:

  • (Boolean)


# File ''

const :auto_updates, T::Boolean, default: false

#bottled ⇒ Boolean (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 bottled.

Returns:

  • (Boolean)


# File ''

const :bottled, T::Boolean, default: false

#display_names ⇒ Array<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 display_names.

Returns:



# File ''

const :display_names, T::Array[String], default: []

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

Returns:

  • (Boolean)


# File ''

const :head, T::Boolean, default: false

#installed ⇒ Boolean (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 installed.

Returns:

  • (Boolean)


# File ''

const :installed, T::Boolean, default: false

#installed_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 installed_version.

Returns:



# File ''

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

#keg_only ⇒ Boolean (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 keg_only.

Returns:

  • (Boolean)


# File ''

const :keg_only, T::Boolean, default: false

#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

#outdated ⇒ Boolean (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 outdated.

Returns:

  • (Boolean)


# File ''

const :outdated, T::Boolean, default: false

#removed ⇒ Boolean (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 removed.

Returns:

  • (Boolean)


# File ''

const :removed, T::Boolean, default: false

#stable ⇒ Boolean (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 stable.

Returns:

  • (Boolean)


# File ''

const :stable, T::Boolean, default: false

#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), default: nil

#warning ⇒ Boolean (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 warning.

Returns:

  • (Boolean)


# File ''

const :warning, T::Boolean, default: false