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
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 |
# File 'lib/intermine/query.rb', line 1210 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 |