errors/syntax_error/extra_end.rb

tests/_examples/errors/syntax_error/extra_end.rb in the metorex repository.

# rubocop:disable Lint/Syntax
def invoice_total(items)
  items.sum(&:price)
  end
end
# rubocop:enable Lint/Syntax