fix spelling issues and ruby style
Merge pull request #1 from rilian/master

fix spelling issues and ruby style