class Psych::Nodes::Node
def each &block
Iterate over each node in the tree. Yields each node to +block+ depth
##
def each &block return enum_for :each unless block_given? Visitors::DepthFirst.new(block).accept self end
def each &block return enum_for :each unless block_given? Visitors::DepthFirst.new(block).accept self end