Class: CQL::Dsl::Comparison
- Inherits:
-
Object
- Object
- CQL::Dsl::Comparison
- Defined in:
- lib/cql/dsl.rb
Overview
Not a part of the public API. Subject to change at any time.
Instance Attribute Summary collapse
-
#amount ⇒ Object
the operator used for comparison.
-
#operator ⇒ Object
the operator used for comparison.
Instance Method Summary collapse
-
#initialize(operator, amount) ⇒ Comparison
constructor
Creates a new comparison object.
Constructor Details
#initialize(operator, amount) ⇒ Comparison
Creates a new comparison object
90 91 92 93 |
# File 'lib/cql/dsl.rb', line 90 def initialize operator, amount @operator = operator @amount = amount end |
Instance Attribute Details
#amount ⇒ Object
the operator used for comparison
85 86 87 |
# File 'lib/cql/dsl.rb', line 85 def amount @amount end |
#operator ⇒ Object
the operator used for comparison
85 86 87 |
# File 'lib/cql/dsl.rb', line 85 def operator @operator end |