Class: Arel::Visitors::DepthFirst
- Defined in:
- lib/arel/visitors/depth_first.rb
Instance Method Summary collapse
-
#initialize(block = nil) ⇒ DepthFirst
constructor
A new instance of DepthFirst.
Methods inherited from Visitor
Constructor Details
#initialize(block = nil) ⇒ DepthFirst
Returns a new instance of DepthFirst.
4 5 6 |
# File 'lib/arel/visitors/depth_first.rb', line 4 def initialize block = nil @block = block || Proc.new end |