class RuboCop::AST::RescueNode
def branches
-
(Array
- an array of the bodies of the rescue branches)
def branches bodies = resbody_branches.map(&:body) bodies.push(else_branch) if else? bodies end
(Array)
- an array of the bodies of the rescue branches
def branches bodies = resbody_branches.map(&:body) bodies.push(else_branch) if else? bodies end