From: Go MAEDA Date: Tue, 17 Jan 2023 01:31:06 +0000 (+0000) Subject: Ruby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134). X-Git-Tag: 5.1.0~276 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97d07eb28573060085352e0e9046be16e29f5bfd;p=redmine.git Ruby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134). git-svn-id: https://svn.redmine.org/redmine/trunk@22054 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/export/csv.rb b/lib/redmine/export/csv.rb index e7726bacd..785698657 100644 --- a/lib/redmine/export/csv.rb +++ b/lib/redmine/export/csv.rb @@ -22,8 +22,8 @@ require 'csv' module Redmine module Export module CSV - def self.generate(*args, &block) - Base.generate(*args, &block) + def self.generate(...) + Base.generate(...) end class Base < ::CSV