added the Ruby translation