mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 03:51:38 +01:00
Fix RuboCop offense Style/ArgumentsForwarding (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22612 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -367,9 +367,9 @@ module Redmine
|
||||
@children.inject(1) {|sum, node| sum + node.size}
|
||||
end
|
||||
|
||||
def each(&block)
|
||||
def each(...)
|
||||
yield self
|
||||
children {|child| child.each(&block)}
|
||||
children {|child| child.each(...)}
|
||||
end
|
||||
|
||||
# Adds a child at first position
|
||||
|
||||
Reference in New Issue
Block a user