Please, avoid %q unless you have a string with both ' and " in it. Regular string literals are more readable and should be preferred unless a lot of characters would have to be escaped in them.

As recommended by the ruby syle guide https://github.com/bbatsov/ruby-style-guide