Method: BSON::ObjectId#===
- Defined in:
- lib/bson/object_id.rb
#===(other) ⇒ true, false
Check case equality on the object id.
59 60 61 62 63 |
# File 'lib/bson/object_id.rb', line 59 def ===(other) return to_str == other.to_str if other.respond_to?(:to_str) super end |