* 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
This commit is contained in:
parent
f14d97e1c0
commit
6eaa5cb30c
@ -1,3 +1,8 @@
|
|||||||
|
Thu May 12 08:10:46 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* lib/set.rb (class Set): Add nodoc to internal-use methods. Patch
|
||||||
|
by Pete Higgins. [Ruby 1.9 - Bug #4665]
|
||||||
|
|
||||||
Thu May 12 08:01:14 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
Thu May 12 08:01:14 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
||||||
|
|
||||||
* ext/openssl/ossl_pkey_ec.c: Allow encryption when PEM-encoding
|
* ext/openssl/ossl_pkey_ec.c: Allow encryption when PEM-encoding
|
||||||
|
@ -76,7 +76,7 @@ class Set
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def do_with_enum(enum, &block)
|
def do_with_enum(enum, &block) # :nodoc:
|
||||||
if enum.respond_to?(:each_entry)
|
if enum.respond_to?(:each_entry)
|
||||||
enum.each_entry(&block)
|
enum.each_entry(&block)
|
||||||
elsif enum.respond_to?(:each)
|
elsif enum.respond_to?(:each)
|
||||||
@ -145,7 +145,7 @@ class Set
|
|||||||
@hash.keys
|
@hash.keys
|
||||||
end
|
end
|
||||||
|
|
||||||
def flatten_merge(set, seen = Set.new)
|
def flatten_merge(set, seen = Set.new) # :nodoc:
|
||||||
set.each { |e|
|
set.each { |e|
|
||||||
if e.is_a?(Set)
|
if e.is_a?(Set)
|
||||||
if seen.include?(e_id = e.object_id)
|
if seen.include?(e_id = e.object_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user