Use multiple lines for complex guard
This commit is contained in:
parent
36011568d5
commit
a707027197
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ module Mutant
|
|||
#
|
||||
def dispatch
|
||||
children.each_index do |index|
|
||||
mutate_child(index) if children.at(index).kind_of?(Parser::AST::Node)
|
||||
if children.at(index).kind_of?(Parser::AST::Node)
|
||||
mutate_child(index)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue