mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
Fix a RuboCop offence Style/MethodDefParentheses (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20152 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -359,7 +359,7 @@ module Redmine
|
||||
@children.inject(1) {|sum, node| sum + node.size}
|
||||
end
|
||||
|
||||
def each &block
|
||||
def each(&block)
|
||||
yield self
|
||||
children { |child| child.each(&block) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user