Class: RuboCop::Cop::Metrics::BlockNesting

Inherits:
Base
  • Object
show all
Defined in:
rubocops.rbi

Instance Method Summary collapse

Instance Method Details

#consider_node?(node) ⇒ Boolean

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:

  • (Boolean)


50
# File 'rubocops.rbi', line 50

def consider_node?(node); end

#count_if_block?(node) ⇒ Boolean

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:

  • (Boolean)


53
# File 'rubocops.rbi', line 53

def count_if_block?(node); end