Method: Roaring::BitmapCommon#proper_superset?

Defined in:
lib/roaring.rb

#proper_superset?(other) ⇒ Boolean Also known as: >

Check if ‘self` is a strict superset of `other`. A strict superset requires that `self` contain all of `other`’s elemtents, but that they aren’t exactly equal.

Returns:

  • (Boolean)

    ‘true` if `self` is a strict subset of `other`, otherwise `false`



121
122
123
# File 'lib/roaring.rb', line 121

def proper_superset?(other)
  other < self
end