Spec-Zone.ru › Homebrew

Class: Debrew::Menu::Entry Private

Inherits:
T::Struct
  • Object
  • T::Struct
  • Debrew::Menu::Entry
show all
Defined in:
debrew.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

  • #action ⇒ T.proc.void readonly private

    Returns the value of prop action.

  • #name ⇒ String readonly private

    Returns the value of prop name.

Instance Method Summary collapse

  • #initialize(name:, action:) ⇒ void constructor

Constructor Details

#initialize(name:, action:) ⇒ void

Parameters:

  • name (String)
  • action (T.proc.void)
# File ''

const :name, String
const :action, T.proc.void

Instance Attribute Details

#action ⇒ T.proc.void (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 action.

Returns:

  • (T.proc.void)
# File ''

const :action, T.proc.void

#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:

  • (String)
# File ''

const :name, String

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Debrew/Menu/Entry.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API