summaryrefslogtreecommitdiff
path: root/lib/set.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-11 23:17:52 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-11 23:17:52 +0000
commit6eaa5cb30cee1d1ef934429807e26e9bd996d6de (patch)
tree21df27ce14d12b857e5afd601cdcfc01514d85ed /lib/set.rb
parentf14d97e1c0ce23412c2612085feda5d92db44f20 (diff)
* lib/set.rb (class Set): Add nodoc to internal-use methods. Patch by Pete Higgins. [Ruby 1.9 - Bug #4665]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/set.rb')
-rwxr-xr-xlib/set.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/set.rb b/lib/set.rb
index 5655c26..9919796 100755
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -76,7 +76,7 @@ class Set
end
end
- def do_with_enum(enum, &block)
+ def do_with_enum(enum, &block) # :nodoc:
if enum.respond_to?(:each_entry)
enum.each_entry(&block)
elsif enum.respond_to?(:each)
@@ -145,7 +145,7 @@ class Set
@hash.keys
end
- def flatten_merge(set, seen = Set.new)
+ def flatten_merge(set, seen = Set.new) # :nodoc:
set.each { |e|
if e.is_a?(Set)
if seen.include?(e_id = e.object_id)