From: J J Date: 2001-05-04T10:11:23+09:00 Subject: [ruby-talk:14610] Re: Design by contract 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" wrote in message news:20010503231943.95390.qmail@web13902.mail.yahoo.com... > > --- J J 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/ >