Class: Arel::Visitors::Reduce

Inherits:
Visitor
  • Object
show all
Defined in:
lib/arel/visitors/reduce.rb

Direct Known Subclasses

ToSql

Instance Method Summary collapse

Methods inherited from Visitor

#initialize

Constructor Details

This class inherits a constructor from Arel::Visitors::Visitor

Instance Method Details

#accept(object, collector) ⇒ Object



6
7
8
# File 'lib/arel/visitors/reduce.rb', line 6

def accept object, collector
  visit object, collector
end