Module: RuboCop::Cop::TrailingComma

Overview

Common methods shared by Style/TrailingCommaInArguments, Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral rubocop:disable Metrics/ModuleLength

Constant Summary collapse

MSG =
'%<command>s comma after the last %<unit>s.'

Constants included from RangeHelp

RangeHelp::BYTE_ORDER_MARK, RangeHelp::NOT_GIVEN

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_configured?, #style_detected, #supported_styles, #unexpected_style_detected