Skip to content

Commit 254d927

Browse files
committed
Adding section: What's Here
1 parent ab81354 commit 254d927

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/set.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,25 +94,25 @@
9494
#
9595
# ### Methods for \Set Operations
9696
#
97-
# - [|](Set.html#method-i-7C) (aliased as #union and #+) -
97+
# - [|](#method-i-7C) (aliased as #union and #+) -
9898
# Returns a new set containing all elements from +self+
9999
# and all elements from a given enumerable (no duplicates).
100-
# - [&](Set.html#method-i-26) (aliased as #intersection) -
100+
# - [&](#method-i-26) (aliased as #intersection) -
101101
# Returns a new set containing all elements common to +self+
102102
# and a given enumerable.
103-
# - [-](Set.html#method-i-2D) (aliased as #difference) -
103+
# - [-](#method-i-2D) (aliased as #difference) -
104104
# Returns a copy of +self+ with all elements
105105
# in a given enumerable removed.
106-
# - [\^](Set.html#method-i-5E) -
106+
# - [\^](#method-i-5E) -
107107
# Returns a new set containing all elements from +self+
108108
# and a given enumerable except those common to both.
109109
#
110110
# ### Methods for Comparing
111111
#
112-
# - [<=>](Set.html#method-i-3C-3D-3E) -
112+
# - [<=>](#method-i-3C-3D-3E) -
113113
# Returns -1, 0, or 1 as +self+ is less than, equal to,
114114
# or greater than a given object.
115-
# - [==](Set.html#method-i-3D-3D) -
115+
# - [==](#method-i-3D-3D) -
116116
# Returns whether +self+ and a given enumerable are equal,
117117
# as determined by Object#eql?.
118118
# - \#compare_by_identity? -
@@ -127,13 +127,13 @@
127127
# Returns whether the set has no elements.
128128
# - \#include? (aliased as #member? and #===) -
129129
# Returns whether a given object is an element in the set.
130-
# - \#subset? (aliased as [<=](Set.html#method-i-3C-3D)) -
130+
# - \#subset? (aliased as [<=](#method-i-3C-3D)) -
131131
# Returns whether a given object is a subset of the set.
132-
# - \#proper_subset? (aliased as [<](Set.html#method-i-3C)) -
132+
# - \#proper_subset? (aliased as [<](#method-i-3C)) -
133133
# Returns whether a given enumerable is a proper subset of the set.
134-
# - \#superset? (aliased as [<=](Set.html#method-i-3E-3D])) -
134+
# - \#superset? (aliased as [<=](#method-i-3E-3D])) -
135135
# Returns whether a given enumerable is a superset of the set.
136-
# - \#proper_superset? (aliased as [>](Set.html#method-i-3E)) -
136+
# - \#proper_superset? (aliased as [>](#method-i-3E)) -
137137
# Returns whether a given enumerable is a proper superset of the set.
138138
# - \#disjoint? -
139139
# Returns +true+ if the set and a given enumerable

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy