A quick and crazy go at implementing contracts using Ruby 2.1 and naive evals.