Favor single quotes in snippets to comply with ruby style guide

I have changed the snippets to use single instead of double quotes, as the [ruby style guide](https://github.com/bbatsov/ruby-style-guide#strings) suggests