module RuboCop::AST::Descendence

def descendants

Returns:
  • (Array) - an array of descendant nodes
def descendants
  each_descendant.to_a
end