Adding the ruby and spec code