]> source.dussan.org Git - redmine.git/commitdiff
Ruby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134).
authorGo MAEDA <maeda@farend.jp>
Tue, 17 Jan 2023 01:31:06 +0000 (01:31 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 17 Jan 2023 01:31:06 +0000 (01:31 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22054 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/csv.rb

index e7726bacdf297fe07d200d2a201bee42aec9a7af..7856986571e3402aee5d8830c71b33576f031e8c 100644 (file)
@@ -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