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
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 |
# File 'lib/intermine/query.rb', line 1122 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 |