Bug #116 ยป sorted_set_each.patch
lib/set.rb (Arbeitskopie) | ||
---|---|---|
def each
|
||
block_given? or return enum_for(__method__)
|
||
to_a.each { |o| yield(o) }
|
||
self
|
||
end
|
||
def to_a
|
NoKarma (Arthur Schreiber), 06/09/2008 02:38 AM
lib/set.rb (Arbeitskopie) | ||
---|---|---|
def each
|
||
block_given? or return enum_for(__method__)
|
||
to_a.each { |o| yield(o) }
|
||
self
|
||
end
|
||
def to_a
|