class RuboCop::Cop::Style::SymbolArray
def on_array(node)
def on_array(node) # %i and %I were introduced in Ruby 2.0 return if RUBY_VERSION < '2.0.0' add_offense(node, :expression) if array_of?(:sym, node) end
def on_array(node) # %i and %I were introduced in Ruby 2.0 return if RUBY_VERSION < '2.0.0' add_offense(node, :expression) if array_of?(:sym, node) end