mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
57d2be7b7f
commit
8692d74b09
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue