Sha256: fb668e10427aa5e366ce3a46495c8c86435b89747eb749a6d5a9fa04b017a866
Contents?: true
Size: 436 Bytes
Versions: 24
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
24 entries across 24 versions & 2 rubygems