Class: ActiveRecord::Refined::AST::JsonContains
- Defined in:
- lib/active_record/refined/ast.rb
Overview
JSON containment: whether the document holds what is given.
Instance Method Summary collapse
-
#initialize(operand, value) ⇒ JsonContains
constructor
A new instance of JsonContains.
Methods included from Connectives
Methods inherited from Node
Constructor Details
#initialize(operand, value) ⇒ JsonContains
Returns a new instance of JsonContains.
1272 1273 1274 1275 |
# File 'lib/active_record/refined/ast.rb', line 1272 def initialize(operand, value) @operand = operand @value = value end |