def inline_content_is_string?(node)
      tag_with_inline_content = tag_with_inline_text(node)
      inline_content = inline_node_content(node)

      index = tag_with_inline_content.rindex(inline_content) - 1

      %w[' "].include?(tag_with_inline_content[index])
    end
def inline_content_is_string?(node)
      tag_with_inline_content = tag_with_inline_text(node)
      inline_content = inline_node_content(node)

      index = tag_with_inline_content.rindex(inline_content) - 1

      %w[' "].include?(tag_with_inline_content[index])
    end
Returns whether the inline content for a node is a string.

 For example, the following node has a literal string:

   %tag= "A literal #{string}"

 whereas this one does not:

   %tag A literal #{string}

 @param node [HamlLint::Tree::Node]
 @return [true,false]