Module: RuboCop::Cop::MethodComplexity Private

Included in:
RuboCop::Cop::Metrics::CyclomaticComplexity
Defined in:
rubocops.rbi

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

Instance Method Details

#complexity(body) ⇒ Integer

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:



33
# File 'rubocops.rbi', line 33

def complexity(body); end