Class: Mongo::MaxKey
Overview
A class representing the BSON MaxKey type. MaxKey will always compare greater than all other BSON types and values.
Instance Method Summary collapse
Instance Method Details
#==(obj) ⇒ Object
34 35 36 |
# File 'lib/mongo/types/min_max_keys.rb', line 34 def ==(obj) obj.class == MaxKey end |