class RuboCop::AST::NodePattern::Node

def child

Returns:
  • (Node) - most nodes have only one child
def child
  children[0]
end