Project

General

Profile

Bug #116 ยป sorted_set_each.patch

NoKarma (Arthur Schreiber), 06/09/2008 02:38 AM

View differences:

lib/set.rb (Arbeitskopie)
def each
block_given? or return enum_for(__method__)
to_a.each { |o| yield(o) }
self
end
def to_a
    (1-1/1)