Class: RuboCop::Cop::Homebrew::SingleUseMethod::BlockNestingScore Private
- Inherits:
-
Metrics::BlockNesting
- Object
- Metrics::BlockNesting
- RuboCop::Cop::Homebrew::SingleUseMethod::BlockNestingScore
- Defined in:
- rubocops/single_use_method.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 Method Summary collapse
-
#cop_config ⇒ Hash{String => T.anything}
private
Read e.g.
Instance Method Details
#cop_config ⇒ Hash{String => T.anything}
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.
Read e.g. CountModifierForms from Metrics/BlockNesting rather than this class's own badge.
67 |
# File 'rubocops/single_use_method.rb', line 67 def cop_config = config.for_cop("Metrics/BlockNesting") |