From: "Mauricio Fernández" Date: 2003-06-12T15:24:26+09:00 Subject: Re: Multiple Initialize methods? On Thu, Jun 12, 2003 at 02:54:14PM +0900, Mark Wilson wrote: > I thought I had suggested something like this in my earlier message > citing how set.rb defines a second constructor ( '[ ]' ) that > references the initialize method. Your suggested approach, however, > seems better and clearer. > > Should approaches like this (and others that come to be accepted as > best practices) be used in all "official" parts of Ruby that are > written in Ruby? There's already for instance File.new and File.open. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com No, that's wrong too. Now there's a race condition between the rm and the mv. Hmm, I need more coffee. -- Guy Maor on Debian Bug#25228