summaryrefslogtreecommitdiff
path: root/lib/rinda
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/rinda
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/rinda')
-rw-r--r--lib/rinda/tuplespace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rinda/tuplespace.rb b/lib/rinda/tuplespace.rb
index b0409dd..6ca30a7 100644
--- a/lib/rinda/tuplespace.rb
+++ b/lib/rinda/tuplespace.rb
@@ -315,7 +315,7 @@ module Rinda
def initialize # :nodoc:
@hash = {}
- @enum = Enumerable::Enumerator.new(self, :each_entry)
+ @enum = enum_for(:each_entry)
end
##