Fixed a missing character in Ruby language.

Hi,

During my translation, I've noticed it missed  a character in Ruby language. 
I've also remove the useless whitespace at the end of the file.

Thanks.