Class: Radiosonde::DSL::ComparisonOperator
- Inherits:
-
Object
- Object
- Radiosonde::DSL::ComparisonOperator
- Defined in:
- lib/radiosonde/dsl/comparison_operator.rb
Constant Summary collapse
- ALIASES =
{ 'GreaterThanOrEqualToThreshold' => '>=', 'GreaterThanThreshold' => '>', 'LessThanThreshold' => '<', 'LessThanOrEqualToThreshold' => '<=', }
Class Method Summary collapse
Class Method Details
.conv_to_alias(operator) ⇒ Object
10 11 12 |
# File 'lib/radiosonde/dsl/comparison_operator.rb', line 10 def conv_to_alias(operator) ALIASES[operator] || operator end |