lib/cql/dsl.rb in cql-1.5.0 vs lib/cql/dsl.rb in cql-1.5.1
- old
+ new
@@ -78,11 +78,16 @@
end
end
# Not a part of the public API. Subject to change at any time.
class Comparison
- attr_accessor :operator, :amount
+ # the operator used for comparison
+ attr_accessor :operator,
+ # value that will be compared against
+ :amount
+
+ # Creates a new comparison object
def initialize operator, amount
@operator = operator
@amount = amount
end