Added my solutions for the Ruby tests
Merge pull request #284 from Avonyel/patch-1

Added my solutions for the Ruby tests