Lars M. wrote: > Hi, > > Is there a way to have two constructors which take a different number of > arguments? class Foo def initialize(*args) case args.size when 1; init1(*args) when 2; init2(*args) end end def init1(arg) p arg end def init2(arg1, arg2) p arg1, arg2 end end Foo.new(1) Foo.new("a","b")