Skip to content

Commit

Permalink
📚 Fix SequenceSet#cover? documentation
Browse files Browse the repository at this point in the history
`===` is not an alias for `cover?`.  It delegates to `cover?` but
handles errors differently.
  • Loading branch information
nevans committed Jan 18, 2025
1 parent 20df591 commit d3f800a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/imap/sequence_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d3f800a

Please sign in to comment.