lib/mongoid/criteria/queryable.rb in mongoid-8.0.1 vs lib/mongoid/criteria/queryable.rb in mongoid-8.0.2
- old
+ new
@@ -44,10 +44,10 @@
# @example Are the objects equal?
# queryable == criteria
#
# @param [ Object ] other The object to compare against.
#
- # @return [ true, false ] If the objects are equal.
+ # @return [ true | false ] If the objects are equal.
def ==(other)
return false unless other.is_a?(Queryable)
selector == other.selector && options == other.options
end