Spec-Zone.ru › Homebrew

Class: RuboCop::Cop::InstallStepsHelper::InstallStepPath Private

Inherits:
T::Struct
  • Object
  • T::Struct
  • RuboCop::Cop::InstallStepsHelper::InstallStepPath
show all
Defined in:
rubocops/shared/install_steps_helper.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

  • #base ⇒ Symbol? readonly private

    Returns the value of prop base.

  • #path ⇒ String readonly private

    Returns the value of prop path.

Instance Method Summary collapse

  • #initialize(path:, base: nil) ⇒ void constructor

Constructor Details

#initialize(path:, base: nil) ⇒ void

Parameters:

  • path (String)
  • base (Symbol, nil) (defaults to: nil)
# File ''

const :path, String
const :base, T.nilable(Symbol)

Instance Attribute Details

#base ⇒ Symbol? (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 base.

Returns:

  • (Symbol, nil)
# File ''

const :base, T.nilable(Symbol)

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

Returns:

  • (String)
# File ''

const :path, String

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/RuboCop/Cop/InstallStepsHelper/InstallStepPath.html

Spec-Zone.ru

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