From d3f800a8972066552463d54b1613f29313c9eddd Mon Sep 17 00:00:00 2001 From: nick evans Date: Fri, 17 Jan 2025 09:37:37 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Fix=20`SequenceSet#cover=3F`=20d?= =?UTF-8?q?ocumentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `===` is not an alias for `cover?`. It delegates to `cover?` but handles errors differently. --- lib/net/imap/sequence_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/imap/sequence_set.rb b/lib/net/imap/sequence_set.rb index a3376cb4..654d5a1d 100644 --- a/lib/net/imap/sequence_set.rb +++ b/lib/net/imap/sequence_set.rb @@ -162,7 +162,7 @@ class IMAP # - #===: # Returns whether a given object is fully contained within +self+, or # +nil+ if the object cannot be converted to a compatible type. - # - #cover? (aliased as #===): + # - #cover?: # Returns whether a given object is fully contained within +self+. # - #intersect? (aliased as #overlap?): # Returns whether +self+ and a given object have any common elements.