Skip to content

Commit 7e53f60

Browse files
committed
📚 Fix SequenceSet#cover? documentation
`===` is not an alias for `cover?`. It delegates to `cover?` but handles errors differently.
1 parent 20df591 commit 7e53f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/imap/sequence_set.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class IMAP
162162
# - #===:
163163
# Returns whether a given object is fully contained within +self+, or
164164
# +nil+ if the object cannot be converted to a compatible type.
165-
# - #cover? (aliased as #===):
165+
# - #cover?:
166166
# Returns whether a given object is fully contained within +self+.
167167
# - #intersect? (aliased as #overlap?):
168168
# Returns whether +self+ and a given object have any common elements.

0 commit comments

Comments
 (0)