diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-17 13:16:03 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-17 13:16:03 +0000 |
commit | 273fffbe3e5ae5e941c91b6b0f0d497b9197f15e (patch) | |
tree | a87a259f16d87500604092e9af77c63bb41917ea /lib | |
parent | 10631c9b7b0c8683af9e6b973e38352aff3dda2b (diff) | |
download | ruby-273fffbe3e5ae5e941c91b6b0f0d497b9197f15e.tar.gz ruby-273fffbe3e5ae5e941c91b6b0f0d497b9197f15e.tar.xz ruby-273fffbe3e5ae5e941c91b6b0f0d497b9197f15e.zip |
Reword and fix Overview.
It is not necessary to require 'test/unit/ui/console/testrunner'.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/set.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/set.rb b/lib/set.rb index a5d4a7730..a19a4f3b5 100644 --- a/lib/set.rb +++ b/lib/set.rb @@ -13,12 +13,12 @@ # # == Overview # -# This library provides the Set class that deals with a collection of -# unordered values with no duplicates. It is a hybrid of Array's -# intuitive inter-operation facilities and Hash's fast lookup. +# This library provides the Set class, which deals with a collection +# of unordered values with no duplicates. It is a hybrid of Array's +# intuitive inter-operation facilities and Hash's fast lookup. If you +# need to keep values ordered, use the SortedSet class. # -# It also provides the SortedSet class which keeps the elements sorted, -# and adds the method +to_set+ to Enumerable. +# The method +to_set+ is added to Enumerable for convenience. # # See the Set class for an example of usage. @@ -625,7 +625,6 @@ end __END__ require 'test/unit' -require 'test/unit/ui/console/testrunner' class TC_Set < Test::Unit::TestCase def test_aref |