Module: RuboCop::Cop::ConfigurableNumbering
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
|
|
Defined in: | lib/rubocop/cop/mixin/configurable_numbering.rb |
Overview
This module provides functionality for checking if numbering match the configured EnforcedStyle.
Constant Summary
-
FORMATS =
# File 'lib/rubocop/cop/mixin/configurable_numbering.rb', line 11{ snake_case: /(?:\D|_\d+|\A\d+)\z/, normalcase: /(?:\D|[^_\d]\d+|\A\d+)\z|#{implicit_param}/, non_integer: /(\D|\A\d+)\z|#{implicit_param}/ }.freeze
ConfigurableEnforcedStyle
- Included
Instance Attribute Summary
ConfigurableEnforcedStyle
- Included
Instance Method Summary
ConfigurableFormatting
- Included
#check_name, | |
#class_emitter_method? | A class emitter method is a singleton method in a class/module, where the method has the same name as a class defined in the class/module. |
#report_opposing_styles, #valid_name? |