class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler
def compile_any_order_else
-
(Array
- Else code, and init code (if any))
def compile_any_order_else rest = node.rest_node if !rest 'false' elsif rest.capture? capture_rest = compiler.next_capture init = "#{capture_rest} = [];" ["#{capture_rest} << #{@cur_child_var}", init] else 'true' end end