class BSON::Regexp::Raw
def ==(other)
-
(true, false)
- If the objects are equal.
Parameters:
-
other
(Object
) -- The object to check against.
Other tags:
- Example: Check if the raw bson regexp is equal to the other. -
def ==(other) return false unless other.is_a?(::Regexp::Raw) pattern == other.pattern && options == other.options end