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

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

Instance Method Summary collapse

Constructor Details

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

Parameters:

  • path (String)
  • base (Symbol, nil) (defaults to: nil)
  • source (String, nil) (defaults to: nil)


# File ''

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

Instance Attribute Details

#baseSymbol? (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:



# File ''

const :base, T.nilable(Symbol)

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



# File ''

const :path, String

#sourceString? (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 source.

Returns:



# File ''

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