Module: RuboCop::Cop::MultilineLiteralBraceLayout
- Includes:
- ConfigurableEnforcedStyle
- Included in:
- Layout::MultilineArrayBraceLayout, Layout::MultilineHashBraceLayout, Layout::MultilineMethodCallBraceLayout, Layout::MultilineMethodDefinitionBraceLayout, MultilineLiteralBraceCorrector
- Defined in:
- lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb
Overview
Common functionality for checking the closing brace of a literal is either on the same line as the last contained elements or a new line.
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, #style_parameter_name, #supported_styles, #unexpected_style_detected