rubocop Style/SymbolArray code example
Example 1: Use `%i` or `%I` for an array of symbols. (convention:Style/SymbolArray)
EnforcedStyle: percent (default)
# good
%i[foo bar baz]
# bad
[:foo, :bar, :baz]
Example 2: Use `%i` or `%I` for an array of symbols. (convention:Style/SymbolArray)
EnforcedStyle: brackets
# good
[:foo, :bar, :baz]
# bad
%i[foo bar baz]