Class: ActiveRecord::Refined::AST::In
- Defined in:
- lib/active_record/refined/ast.rb
Overview
IN for a list of values, BETWEEN for a range, IN (SELECT ...) for a relation.
Instance Method Summary collapse
-
#initialize(operand, values, negated: false) ⇒ In
constructor
A new instance of In.
Methods included from Connectives
Methods inherited from Node
Constructor Details
#initialize(operand, values, negated: false) ⇒ In
2340 2341 2342 2343 2344 |
# File 'lib/active_record/refined/ast.rb', line 2340 def initialize(operand, values, negated: false) @operand = operand @values = values @negated = negated end |