Closed vfonic closed 5 years ago
@vfonic thanks for the suggestion! I had no idea that existed when I wrote that code, and was pretty annoyed that it had to be so complicated. I'll change it later when I'm editing that code again.
Thanks for the feedback. The code I wrote in #7 uses <<~
and it's so much better :)
Awesome! Thanks for getting back on this issue!
Take care.
Not really a big issue... :)
but you can use
<<~
to deindent the code.https://infinum.co/the-capsized-eight/multiline-strings-ruby-2-3-0-the-squiggly-heredoc
https://github.com/mikeyhew/shopify-app-templates/blob/master/polaris-rails.rb