Class: Arel::Visitors::DepthFirst

Inherits:
Visitor
  • Object
show all
Defined in:
lib/thredded/rails_lt_5_2_arel_case_node.rb

Instance Method Summary collapse

Instance Method Details

#visit_Arel_Nodes_Case(o) ⇒ Object

rubocop:disable Naming/MethodName


67
68
69
70
71
# File 'lib/thredded/rails_lt_5_2_arel_case_node.rb', line 67

def visit_Arel_Nodes_Case(o) # rubocop:disable Naming/MethodName
  visit o.case
  visit o.conditions
  visit o.default
end