Class: InterMine::PathQuery::TemplateSingleValueConstraint
- Inherits:
-
SingleValueConstraint
- Object
- SingleValueConstraint
- InterMine::PathQuery::TemplateSingleValueConstraint
- Includes:
- TemplateConstraint
- Defined in:
- lib/intermine/query.rb
Constant Summary
Constants inherited from SingleValueConstraint
SingleValueConstraint::CANONICAL_OPS
Instance Attribute Summary
Attributes included from TemplateConstraint
Attributes inherited from SingleValueConstraint
Attributes included from Coded
Attributes included from PathFeature
Instance Method Summary collapse
Methods included from TemplateConstraint
Methods inherited from SingleValueConstraint
#to_elem, valid_ops, #validate
Methods included from AttributeConstraint
#coerce_value, #validate, #validate_value
Methods included from Coded
Methods included from PathFeature
Instance Method Details
#template_param_op ⇒ Object
1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 |
# File 'lib/intermine/query.rb', line 1100 def template_param_op case @op when '=' return 'eq' when '!=' return 'ne' when '<' return 'lt' when '<=' return 'le' when '>' return 'gt' when '>=' return 'ge' else return @op end end |