summaryrefslogtreecommitdiff
path: root/lib/set.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-13 08:03:30 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-13 08:03:30 +0000
commitd4b7cc796cfbc8224a387d4e906ce1e3908f4970 (patch)
tree1a611f44450721f2acb72d3120782fe4a5f640b4 /lib/set.rb
parent16612b360b376d0cb3f50f966e2e671cf80fdc25 (diff)
* golf_prelude.rb, lib/set.rb (TC_Set#test_each),
test/readline/test_readline_history.rb (Readline#test_each__enumerator), test/ruby/test_array.rb (TestArray#test_collect), test/ruby/test_enumerator.rb (TestEnumerator#test_initialize): Enumerable::Enumerator is now called Enumerator. * lib/rinda/tuplespace.rb (Rinda::TupleBag#initialize): Use enum_for instead of hardcoding Enumerable::Enumerator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/set.rb')
-rw-r--r--lib/set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/set.rb b/lib/set.rb
index 1a36b9c..f930c5e 100644
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -941,7 +941,7 @@ class TC_Set < Test::Unit::TestCase
assert_same(set, ret)
e = set.each
- assert_instance_of(Enumerable::Enumerator, e)
+ assert_instance_of(Enumerator, e)
assert_nothing_raised {
set.each { |o|