[ruby/set] Adding section: What's Here

https://github.com/ruby/set/commit/254d927c8c
This commit is contained in:
Burdette Lamar 2021-04-19 11:16:32 -05:00 коммит произвёл Hiroshi SHIBATA
Родитель adc86f7a58
Коммит b8506eb476
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
1 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -94,25 +94,25 @@
#
# ### Methods for \Set Operations
#
# - [|](Set.html#method-i-7C) (aliased as #union and #+) -
# - [|](#method-i-7C) (aliased as #union and #+) -
# Returns a new set containing all elements from +self+
# and all elements from a given enumerable (no duplicates).
# - [&](Set.html#method-i-26) (aliased as #intersection) -
# - [&](#method-i-26) (aliased as #intersection) -
# Returns a new set containing all elements common to +self+
# and a given enumerable.
# - [-](Set.html#method-i-2D) (aliased as #difference) -
# - [-](#method-i-2D) (aliased as #difference) -
# Returns a copy of +self+ with all elements
# in a given enumerable removed.
# - [\^](Set.html#method-i-5E) -
# - [\^](#method-i-5E) -
# Returns a new set containing all elements from +self+
# and a given enumerable except those common to both.
#
# ### Methods for Comparing
#
# - [<=>](Set.html#method-i-3C-3D-3E) -
# - [<=>](#method-i-3C-3D-3E) -
# Returns -1, 0, or 1 as +self+ is less than, equal to,
# or greater than a given object.
# - [==](Set.html#method-i-3D-3D) -
# - [==](#method-i-3D-3D) -
# Returns whether +self+ and a given enumerable are equal,
# as determined by Object#eql?.
# - \#compare_by_identity? -
@ -127,13 +127,13 @@
# Returns whether the set has no elements.
# - \#include? (aliased as #member? and #===) -
# Returns whether a given object is an element in the set.
# - \#subset? (aliased as [<=](Set.html#method-i-3C-3D)) -
# - \#subset? (aliased as [<=](#method-i-3C-3D)) -
# Returns whether a given object is a subset of the set.
# - \#proper_subset? (aliased as [<](Set.html#method-i-3C)) -
# - \#proper_subset? (aliased as [<](#method-i-3C)) -
# Returns whether a given enumerable is a proper subset of the set.
# - \#superset? (aliased as [<=](Set.html#method-i-3E-3D])) -
# - \#superset? (aliased as [<=](#method-i-3E-3D])) -
# Returns whether a given enumerable is a superset of the set.
# - \#proper_superset? (aliased as [>](Set.html#method-i-3E)) -
# - \#proper_superset? (aliased as [>](#method-i-3E)) -
# Returns whether a given enumerable is a proper superset of the set.
# - \#disjoint? -
# Returns +true+ if the set and a given enumerable