End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Psych::Nodes::Node#each
each(&block)
ext/psych/lib/psych/nodes/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/psych/lib/psych/nodes/node.rb, line 40
def each &block
return enum_for :each unless block_given?
Visitors::DepthFirst.new(block).accept self
end
Iterate over each node in the tree. Yields each node to block depth first.