class RuboCop::AST::WhenNode
def branch_index
-
(Integer)
- the index of the `when` branch
def branch_index parent.when_branches.index(self) end
(Integer)
- the index of the `when` branch
def branch_index parent.when_branches.index(self) end