class RuboCop::AST::NodePattern::Node::Sequence

Node class for ‘(type first second …)`

def initialize(type, children = [], properties = {})

def initialize(type, children = [], properties = {})
  if (replace = children.first.in_sequence_head)
    children = [*replace, *children[1..]]
  end
  super
end