[Note: parts of this message were removed to make it a legal post.]
Thanks Dan.
Looks like dbc is actually a Design By Contract system for C, using ruby
and Racc to parse an external DSL:
http://www.onlamp.com/pub/a/onlamp/2...ract_in_c.html.
I'll take a look at rubydbc. Anyone else have any input?
Daniel Berger wrote:
> On Sep 11, 10:53 am, Pete Hodgson <phodg...@lyris.com> wrote:
>
>> Hi Folks,
>>
>> Does anyone know of a Programming By Contract framework for ruby? It
>> seems like fertile ground, given the dynamic nature of the language. I'm
>> imagining some kind of DSL that allows a developer to annotate a
>> class/module with invariants, and also to annotate methods with pre- and
>> post-conditions.
>>
>> Cheers,
>> Pete
>>
>
> http://rubyforge.org/projects/rubydbc/
> http://rubyforge.org/projects/dbc/
>
> Regards,
>
> Dan
>
>