summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTJ <[email protected]>2023-02-15 11:46:16 +0800
committerGitHub <[email protected]>2023-02-15 12:46:16 +0900
commitfba8f7783bea8f717c19094f01d513e846fd4247 (patch)
tree5d7a4f581e47d6af2c3b990ad7bc8f8521e644fe
parent619af4fd6404168a368442941ec80e739aef2609 (diff)
[DOC] remove redundant paragraph at set.rb (#6472)
remove redundant paragraph at set.rb
Notes
Notes: Merged-By: hsbt <[email protected]>
-rw-r--r--lib/set.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/set.rb b/lib/set.rb
index a515dacb0e..ff312ee906 100644
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -12,16 +12,12 @@
##
-# This library provides the Set class, which deals with a collection
-# of unordered values with no duplicates. It is a hybrid of Array's
+# This library provides the Set class, which implements a collection
+# of unordered values with no duplicates. It is a hybrid of Array's
# intuitive inter-operation facilities and Hash's fast lookup.
#
# The method `to_set` is added to Enumerable for convenience.
#
-# Set implements a collection of unordered values with no duplicates.
-# This is a hybrid of Array's intuitive inter-operation facilities and
-# Hash's fast lookup.
-#
# Set is easy to use with Enumerable objects (implementing `each`).
# Most of the initializer methods and binary operators accept generic
# Enumerable objects besides sets and arrays. An Enumerable object