From: Gavin Sinclair Date: 2004-11-13T22:28:25+09:00 Subject: Re: assert On Saturday, November 13, 2004, 7:38:28 PM, Florian wrote: > itsme213 wrote: >>>There's one in the dev-utils package. It will automatically set a >>>breakpoint if the application is run in debug mode and therefore give >>>you an irb shell where you can find out why your assert failed. >> That would work nice ... but I could not find it. > Oh, you are right. It is not yet included in dev-utils because of its > name. I have attached my local version of breakpoint.rb which includes it. > I have thought about changing the name to "assume" so it can be included > in dev-utils, but I'm not sure if that name is better. Maybe breakpoint :unless => 'x + y == 10' ? Gavin