Class: BSON::MaxKey
- Inherits:
-
Object
- Object
- BSON::MaxKey
- Defined in:
- lib/bson/types/min_max_keys.rb
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
36 37 38 |
# File 'lib/bson/types/min_max_keys.rb', line 36 def ==(obj) obj.class == MaxKey end |