Class: RuboCop::Cop::Cask::Variables Private

Inherits:
Base
  • Object
show all
Extended by:
AutoCorrector, Forwardable
Includes:
CaskHelp
Defined in:
rubocops/cask/variables.rb,
sorbet/rbi/dsl/rubo_cop/cop/cask/variables.rbi

Overview

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.

DO NOT EDIT MANUALLY This is an autogenerated file for dynamic methods in RuboCop::Cop::Cask::Variables. Please instead update this file by running bin/tapioca dsl RuboCop::Cop::Cask::Variables.

Instance Method Summary collapse

Methods included from CaskHelp

#inner_stanzas, #on_block, #on_cask_stanza_block, #on_system_methods

Instance Method Details

#on_cask(cask_block) ⇒ Object

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.



26
27
28
29
# File 'rubocops/cask/variables.rb', line 26

def on_cask(cask_block)
  @cask_block = cask_block
  add_offenses
end

#variable_assignment(node, *pattern, **kwargs, &block) ⇒ T.untyped

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.

Parameters:

Returns:

  • (T.untyped)


16
# File 'sorbet/rbi/dsl/rubo_cop/cop/cask/variables.rbi', line 16

def variable_assignment(node, *pattern, **kwargs, &block); end