Class: Debrew::Menu::Entry Private

Inherits:
T::Struct
  • Object
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

Instance Method Summary collapse

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

#actionT.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

#nameString (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