lib/cql/dsl.rb in cql-1.4.2 vs lib/cql/dsl.rb in cql-1.5.0

- old
+ new

@@ -132,9 +132,14 @@ # Adds an *lte* filter operator to the query. See the corresponding Cucumber documentation for details. def lte amount Comparison.new '<=', amount end + # Adds an *eq* filter operator to the query. See the corresponding Cucumber documentation for details. + def eq amount + Comparison.new '==', amount + end + # Adds a *tags* filter to the query. See the corresponding Cucumber documentation for details. def tags *tags return "tags" if tags.size == 0 TagFilter.new tags