diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-22 21:13:51 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-22 21:13:51 +0000 |
commit | 8692d74b095e76b7ac68b4bcb72bda8cbcfce872 (patch) | |
tree | e5e5e560a13cb4fa0343bad5f40a41436f79fac0 /lib/set.rb | |
parent | 57d2be7b7f065aa6afa7281a7eacba326a1ba50e (diff) | |
download | ruby-8692d74b095e76b7ac68b4bcb72bda8cbcfce872.tar.gz |
lib/set.rb: [DOC] remove empty comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/set.rb')
-rw-r--r-- | lib/set.rb | 8 |
1 files 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 |