Module: Canql::Nodes::GeneticTest::WithCondition
- Defined in:
- lib/canql/nodes/genetic_test.rb
Instance Method Summary collapse
Instance Method Details
#existence_filter ⇒ Object
11 12 13 |
# File 'lib/canql/nodes/genetic_test.rb', line 11 def existence_filter { Canql::EQUALS => existence_modifier.text_value.strip != 'no' } end |
#to_genetic_test ⇒ Object
7 8 9 |
# File 'lib/canql/nodes/genetic_test.rb', line 7 def to_genetic_test { 'exists' => existence_filter } end |