Conform to Ruby style guide on %r