ruby-changes:48765
From: stomar <ko1@a...>
Date: Thu, 23 Nov 2017 06:14:01 +0900 (JST)
Subject: [ruby-changes:48765] stomar:r60881 (trunk): lib/set.rb: [DOC] remove empty comments
stomar 2017-11-23 06:13:51 +0900 (Thu, 23 Nov 2017) New Revision: 60881 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60881 Log: lib/set.rb: [DOC] remove empty comments Modified files: trunk/lib/set.rb Index: lib/set.rb =================================================================== --- lib/set.rb (revision 60880) +++ lib/set.rb (revision 60881) @@ -451,8 +451,8 @@ class Set https://github.com/ruby/ruby/blob/trunk/lib/set.rb#L451 def |(enum) dup.merge(enum) end - alias + | ## - alias union | ## + alias + | + alias union | # Returns a new set built by duplicating the set, removing every # element that appears in the given enumerable object. @@ -462,7 +462,7 @@ class Set https://github.com/ruby/ruby/blob/trunk/lib/set.rb#L462 def -(enum) dup.subtract(enum) end - alias difference - ## + alias difference - # Returns a new set containing elements common to the set and the # given enumerable object. @@ -474,7 +474,7 @@ class Set https://github.com/ruby/ruby/blob/trunk/lib/set.rb#L474 do_with_enum(enum) { |o| n.add(o) if include?(o) } n end - alias intersection & ## + alias intersection & # Returns a new set containing elements exclusive between the set # and the given enumerable object. (set ^ enum) is equivalent to -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/