class RuboCop::AST::IfNode
def each_branch(&block)
- Use `branches.each`
def each_branch(&block) return branches.to_enum(__method__) unless block_given? branches.each(&block) end
def each_branch(&block) return branches.to_enum(__method__) unless block_given? branches.each(&block) end