class RuboCop::AST::CaseNode
def each_when(&block)
- Use `when_branches.each`
def each_when(&block) return when_branches.to_enum(__method__) unless block_given? when_branches.each(&block) self end
def each_when(&block) return when_branches.to_enum(__method__) unless block_given? when_branches.each(&block) self end