From: David Naseby Date: 2003-11-28T11:54:04+09:00 Subject: Re: pre/post question/idea >-----Original Message----- >From: David A. Black [mailto:dblack@wobblini.net] > class C > def x > puts "how are you?" > end > > pre x > puts "hello" > end > > post x > puts "goodbye" > end > end > I agree that it looks better, but my eyes completely skipped over the replacement def's. I thought you were just def-ing the same thing 3 times, and were depending on order to distinguish them, which is obviously a silly idea. Nothing against this idea, just noting how my brain reads Ruby code right now. The x:*** syntax screams special case to me, and this doesn't. David http://homepages.ihug.com.au/~naseby/