Handshake is an informal AOP and design-by-contract system written in pure Ruby. It's intended to allow Ruby developers to apply simple, clear constraints to their methods and classes.
Brian Guthrie
gem "handshake", "~> 0.3.1"