Class: Psych::Visitors::DepthFirst
- Defined in:
- lib/psych/visitors/depth_first.rb
Instance Method Summary collapse
-
#initialize(block) ⇒ DepthFirst
constructor
A new instance of DepthFirst.
Methods inherited from Visitor
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 |