lib/set.rb: [DOC] remove empty comments

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2017-11-22 21:13:51 +00:00
parent 57d2be7b7f
commit 8692d74b09

View File

@ -451,8 +451,8 @@ class Set
def |(enum) def |(enum)
dup.merge(enum) dup.merge(enum)
end end
alias + | ## alias + |
alias union | ## alias union |
# Returns a new set built by duplicating the set, removing every # Returns a new set built by duplicating the set, removing every
# element that appears in the given enumerable object. # element that appears in the given enumerable object.
@ -462,7 +462,7 @@ class Set
def -(enum) def -(enum)
dup.subtract(enum) dup.subtract(enum)
end end
alias difference - ## alias difference -
# Returns a new set containing elements common to the set and the # Returns a new set containing elements common to the set and the
# given enumerable object. # given enumerable object.
@ -474,7 +474,7 @@ class Set
do_with_enum(enum) { |o| n.add(o) if include?(o) } do_with_enum(enum) { |o| n.add(o) if include?(o) }
n n
end end
alias intersection & ## alias intersection &
# Returns a new set containing elements exclusive between the set # Returns a new set containing elements exclusive between the set
# and the given enumerable object. (set ^ enum) is equivalent to # and the given enumerable object. (set ^ enum) is equivalent to