Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Ruby::Prism::Node#deconstruct
deconstruct
lib/ruby/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/ruby/prism/node.rb, line 370
def child_nodes
raise NoMethodError, "undefined method `child_nodes' for #{inspect}"
end
Alias of #child_nodes
Returns an array of child nodes, including nils in the place of optional nodes that were not present.
: () -> Array[node?]