From 8692d74b095e76b7ac68b4bcb72bda8cbcfce872 Mon Sep 17 00:00:00 2001 From: stomar Date: Wed, 22 Nov 2017 21:13:51 +0000 Subject: [PATCH] lib/set.rb: [DOC] remove empty comments git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/set.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/set.rb b/lib/set.rb index 566b1c0be3..9642e74af4 100644 --- a/lib/set.rb +++ b/lib/set.rb @@ -451,8 +451,8 @@ class Set 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 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 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