Module: Arel::Predications

Included in:
Nodes::Case
Defined in:
lib/thredded/rails_lt_5_2_arel_case_node.rb

Instance Method Summary collapse

Instance Method Details

#when(right) ⇒ Object


80
81
82
# File 'lib/thredded/rails_lt_5_2_arel_case_node.rb', line 80

def when(right)
  Nodes::Case.new(self).when quoted_node(right)
end