Closed imcodingideas closed 6 years ago
I have a snippet in atom, and I can't seem to figure out how to do string interpolation i.e. #{name} in a atom snippet.
#{name}
'flash_message': 'prefix': 'flash' 'body': """ <% flash.each do |name, msg| %> <%= content_tag(:div, msg, class: "alert alert-#{name}") %> <% end %> """
Sorry I can't help you with this one. I don't use Atom anymore and this issue is not directly related with an app.
I have a snippet in atom, and I can't seem to figure out how to do string interpolation i.e.
#{name}
in a atom snippet.