Sha256: 4b359e4f3929c0a09809b1a7c68a1110ce1ca8eac441be0c35ea378c26256c9d
Contents?: true
Size: 436 Bytes
Versions: 6
Compression:
Stored size: 436 Bytes
Contents
# encoding: utf-8 module Rubocop module Cop module Style # Here we check if the elements of a multi-line array literal are # aligned. class AlignArray < Cop include AutocorrectAlignment MSG = 'Align the elements of an array literal if they span more ' \ 'than one line.' def on_array(node) check_alignment(node.children) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems