Class: Arel::Visitors::Visitor
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/arel/visitors/visitor.rb
Instance Method Summary collapse
- #accept(object, collector = nil) ⇒ Object
-
#initialize ⇒ Visitor
constructor
A new instance of Visitor.
Constructor Details
#initialize ⇒ Visitor
Returns a new instance of Visitor.
6 7 8 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/arel/visitors/visitor.rb', line 6 def initialize @dispatch = get_dispatch_cache end |
Instance Method Details
#accept(object, collector = nil) ⇒ Object
10 11 12 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/arel/visitors/visitor.rb', line 10 def accept(object, collector = nil) visit object, collector end |