Class: RuboCop::Cop::BrandsInsurance::Layout::MultilineArrayLineBreaks

Inherits:
Layout::MultilineArrayLineBreaks
  • Object
show all
Defined in:
lib/rubocop/cop/brands_insurance/layout/multiline_array_line_breaks.rb

Instance Method Summary collapse

Instance Method Details

#on_array(node) ⇒ Object

See Also:

  • super


9
10
11
12
13
# File 'lib/rubocop/cop/brands_insurance/layout/multiline_array_line_breaks.rb', line 9

def on_array(node)
  return if allowed_percent_array?(node)

  super
end