From: transfire@... Date: 2006-07-13T11:37:18+09:00 Subject: Re: prototype design pattern ara.t.howard@noaa.gov wrote: > > DB = Prototype.new{ > host 'localhost' > port 4242 > > def connect() 'do something' end > > def inspect() [host, port].join ':' end > } Why no go the extra step? DB = Prototype.new{ host 'localhost' port 4242 connect does{ 'do something' } inspect does{ [host, port].join ':' } } T.