class RuboCop::AST::IfNode

def each_branch(&block)

Deprecated:
  • Use `branches.each`
def each_branch(&block)
  return branches.to_enum(__method__) unless block
  branches.each(&block)
end