ruby-changes:66118
From: Burdette <ko1@a...>
Date: Mon, 10 May 2021 16:15:18 +0900 (JST)
Subject: [ruby-changes:66118] b8506eb476 (master): [ruby/set] Adding section: What's Here
https://git.ruby-lang.org/ruby.git/commit/?id=b8506eb476 From b8506eb4761953b9f7384aa6dff10e172a7e6a55 Mon Sep 17 00:00:00 2001 From: Burdette Lamar <BurdetteLamar@Y...> Date: Mon, 19 Apr 2021 11:16:32 -0500 Subject: [ruby/set] Adding section: What's Here https://github.com/ruby/set/commit/254d927c8c --- lib/set.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/set.rb b/lib/set.rb index cdb2f2e..a85dbb1 100644 --- a/lib/set.rb +++ b/lib/set.rb @@ -94,25 +94,25 @@ https://github.com/ruby/ruby/blob/trunk/lib/set.rb#L94 # # ### 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 @@ https://github.com/ruby/ruby/blob/trunk/lib/set.rb#L127 # 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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/