From 97d07eb28573060085352e0e9046be16e29f5bfd Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 17 Jan 2023 01:31:06 +0000 Subject: [PATCH] Ruby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134). git-svn-id: https://svn.redmine.org/redmine/trunk@22054 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/export/csv.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5