Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Ash HN: anyone that did constraint programming in Ruby? | Better HN
Ash HN: anyone that did constraint programming in Ruby?
1 points · by
aledalgrande
· 13y ago · 1 comment
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
Comments
[–]
flou
13y ago
Seems 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/