Subject: Re: Style Question
From: Dave Thomas <Dave PragmaticProgrammer.com>
Date: Tue, 26 Feb 2002 03:01:22 +0900
References: 3479134794
In-reply-to: 34794
Dave Thomas <Dave / PragmaticProgrammer.com> writes:
> class ArraySet < Set
> def Set.fromArray(ary)
> s = Set.new <<<<<<<<<<<<
> ary.each {|i| s.add(i) }
> end
> end
Oops - that should be ArraySet.new
Dave