That would do it, thanks Chad and /\ndy! Regards, JJ -- Be Kind, Be Careful, Be Yourself -- Solid, reliable software at reasonable prices http://www.johnjohnsonsoftware.com "chad fowler" <chadfowler / yahoo.com> wrote in message news:20010503231943.95390.qmail / web13902.mail.yahoo.com... > > --- J J <jj5412 / earthlink.net> wrote: > > Any interest/thoughts on implementing simple design > > by contract in Ruby? > > Maybe adding Kernel.assert at least? I've written my > > own assert, but think > > it might make a good addition to the language. > > > > You might want to check out Andy Hunt's > implementation: > http://www.pragmaticprogrammer.com/ruby/downloads/dbc.html > > Chad > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ >