24 ms·
Ash HN: anyone that did constraint programming in Ruby?
I need to do that for a project of mine and, apart from reviewing the theory from uni slides, I'm wondering if there is any nice library to work with constraint programming in Ruby.
Thanks
- flou 13y agoSeems like you are looking for design-by-contract in Ruby. There is actually a gem for this called contracts : http://egonschiele.github.io/contracts.ruby/ http://egonschiele.github.io/contracts.ruby/