February 25, 2007

rubydbc

Design by Contract for Ruby is now a Rubyforge project. Version 1.0.0 is available as a gem:

gem install rubydbc

Labels:

23 Comments:

Blogger Unknown said...

Martin,

Thanks for the brilliant coding on this.. I wanted to *figure out* how to code it more than I really wanted the features :) I learned a ton of new technique just studying your code over the last couple days. I'm coding a version for myself and thought of an interesting application of your code...

It would be trivial to add another version of #pre that would specify and validate parameter types. E.g.

params(String, Integer, Proc)

Now, imagine doing this for two methods of the same name with different parameter types-- method overloading in Ruby!

Not exactly the most useful addition given how simple it is to check types, but, theoretically, it's interesting :)

What do you think?

August 16, 2007 10:15 PM  
Blogger Gaël Marziou said...

Very useful even if I prefer the Eiffel syntax which I found more expressive: 'require' for 'pre', 'ensure' for 'post'.

September 21, 2007 3:42 PM  
Anonymous Anonymous said...

I can see that you are putting a lot of time and effort into your blog and detailed articles! I am deeply in love with every single piece of information you post here. Will be back often to read more updates! Please come visit my site Alexandria Virginia yellow pages when you got time.

July 21, 2009 11:23 PM  
Blogger pimpinkicks said...

As a Newbie, I am always searching online for information that can help me. Thank you. Please come visit my site business directory when you got time.

July 29, 2009 12:31 AM  
Blogger pimpinkicks said...

I found your site on google, great site, keep it up. Will return in the future. Submitted this post to Google News Reader. Please come visit my site company search when you got time.

July 29, 2009 12:33 AM  
Anonymous Anonymous said...

I wanted to thank you for this great read!! I definitely enjoying every little bit of it :) I have you bookmarked to check out new stuff you post. Please visit my Please visit my blog when you have time Please come visit my site Fresno Yellow Page Business Directory when you got time.

July 29, 2009 5:40 AM  
Anonymous Anonymous said...

I am not much into reading, but somehow I got to read lots of articles on your blog.
Its amazing how interesting it is for me to visit you very often :)
Please come visit my site Sacramento Yellow Page Business Directory when you got time.

July 29, 2009 5:41 AM  
Blogger pimpinkicks said...

This is just another reason why I like your website. I like your style of writing you tell your stories without out sending us to 5 other sites to complete the story. Please come visit my site North Dakota,when you got time.

August 14, 2009 3:50 AM  
Blogger pimpinkicks said...

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me. Thanks for all your help and wishing you all the success in your business. Please come visit my site Ohio when you got time.

August 14, 2009 3:52 AM  
Anonymous Anonymous said...

Such interesting read and information, thanks for sharing this post. I will check back to read your other new posts. Please come visit my site breast feed when you got time.

October 02, 2009 7:08 AM  
Anonymous Anonymous said...

I really liked your blog! Please visit my site stroke symptoms when you got time

October 02, 2009 7:09 AM  
Anonymous Anonymous said...

Would you mind terribly if I put up a backlink from my site to your site? Please come visit my site San Diego Business Directory Forum Blog Classifieds when you got time.

October 17, 2009 8:45 PM  
Anonymous Anonymous said...

Would you mind terribly if I put up a backlink from my site to your site? Please come visit my site Business Trade Guide of San Diego California CA when you got time.

October 17, 2009 8:46 PM  
Anonymous Anonymous said...

Such interesting read and information, thanks for sharing this post. I will check back to read your other new posts. Please come visit my site Business Directory Listings Of Charlotte North Carolina NC when you got time.

October 25, 2009 3:09 AM  
Anonymous Anonymous said...

Such interesting read and information, thanks for sharing this post. I will check back to read your other new posts. Please come visit my site Phone Book Directory Charlotte when you got time.

October 25, 2009 3:09 AM  
Anonymous Anonymous said...

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business Thanks for all your help and wishing you all the success in your business Please come visit my site Norfolk Phone Book when you got time.

November 02, 2009 1:23 AM  
Anonymous Anonymous said...

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business Thanks for all your help and wishing you all the success in your business Please come visit my site Norfolk Business Directory Forum Blog Classifieds when you got time.

November 02, 2009 1:23 AM  
Blogger rr8004 said...

I enjoyed reading your work! GREAT post! I looked around for this… but I found you! Anyway, would you mind if I threw up a backlink from my site?
Please come visit my site Virginia VA Phone Directory when you got time. Thanks.

December 21, 2009 2:16 AM  
Blogger rr8004 said...

Please come visit my site Chesapeake Phone Book when you got time. Thanks.

December 21, 2009 2:17 AM  
Blogger rr8004 said...

Yeah it is a great and nice article looking forward to have such article it is so useful. Please come visit my site Laredo Business Phone Listing when you got time.

December 27, 2009 10:56 PM  
Blogger Unknown said...

Me and my friend were arguing about an issue similar to this! Now I know that I was right. lol! Thanks for the information you post. Please come visit my site Scottsdale Business Services And Classifieds when you got time.

January 11, 2010 1:43 AM  
Blogger Unknown said...

Me and my friend were arguing about an issue similar to this! Now I know that I was right. lol! Thanks for the information you post. Please come visit my site Scottsdale Phone Book when you got time.

January 11, 2010 1:43 AM  
Blogger Life & things.... said...

What are the main reasons for people using ruby ? I've dabbled in many languages but not sufficiently enough in Ruby. Is there a best way to get to grips with this language ?
Online PhD Degree Programs

January 28, 2010 11:08 PM  

Post a Comment

<< Home