Module: RuboCop::Cop::TrailingComma
- Includes:
- ConfigurableEnforcedStyle
- Included in:
- Style::TrailingCommaInArguments, Style::TrailingCommaInLiteral
- Defined in:
- lib/rubocop/cop/mixin/trailing_comma.rb
Overview
Common methods shared by Style/TrailingCommaInArguments and Style/TrailingCommaInLiteral
Constant Summary collapse
- MSG =
'%<command>s comma after the last %<unit>s.'.freeze
Method Summary
Methods included from ConfigurableEnforcedStyle
#alternative_style, #alternative_styles, #ambiguous_style_detected, #correct_style_detected, #detected_style, #detected_style=, #no_acceptable_style!, #no_acceptable_style?, #opposite_style_detected, #style, #style_detected, #supported_styles, #unexpected_style_detected