Class: Psych::Visitors::DepthFirst

Inherits:
Visitor show all
Defined in:
lib/psych/visitors/depth_first.rb

Instance Method Summary collapse

Methods inherited from Visitor

#accept

Constructor Details

#initialize(block) ⇒ DepthFirst

Returns a new instance of DepthFirst.



4
5
6
# File 'lib/psych/visitors/depth_first.rb', line 4

def initialize block
  @block = block
end