summaryrefslogtreecommitdiffstats
path: root/lib/redmine/activity
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-21 00:46:15 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-21 00:46:15 +0000
commit93645a279e68b5f23d13c340d96ede3f65aff635 (patch)
tree99c47c51197d9b285fe4b05d073fd55208df54e5 /lib/redmine/activity
parentc069ea3a2440f4cb0641abd4e3ddb6be5bd6bdb2 (diff)
downloadredmine-93645a279e68b5f23d13c340d96ede3f65aff635.tar.gz
redmine-93645a279e68b5f23d13c340d96ede3f65aff635.zip
Use anonymous block forwarding introduced in Ruby 3.1 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/activity')
-rw-r--r--lib/redmine/activity/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/activity/fetcher.rb b/lib/redmine/activity/fetcher.rb
index 4264c2e5d..5c031f069 100644
--- a/lib/redmine/activity/fetcher.rb
+++ b/lib/redmine/activity/fetcher.rb
@@ -60,7 +60,7 @@ module Redmine
end
# Yields to filter the activity scope
- def scope_select(&block)
+ def scope_select(&)
@scope = @scope.select {|t| yield t}
end