Replace tabs with double spaces in all Ruby code according to the Ruby Style Guide
Use Ruby 1.9+ style hashes (`key: 'value'` instead of `:key => 'value’`)
Replace lowerCamelCase variables and method names with under_scored variables and method names according to the Ruby Style Guide
Merge pull request #219 from tomeric/formatting

Format code according to Ruby Style Guide