Files
codeql/ruby/ql/test/library-tests/ast/erb/template.html.erb
2021-10-15 11:47:28 +02:00

33 lines
425 B
Plaintext

<%graphql
fragment Foo on Bar {
some {
queryText
moreProperties
}
}
fragment AnotherFragment on SomethingElse {
other {
things
}
here {
etc
}
}
%>
<%= "hello world" %>
<%#= "this is commented out" %>
<%# "this is also commented out" %>
<% xs = "" %>
<ul>
<% for x in ["foo", "bar", "baz"] do %>
<li><%= xs += x
xs
%></li>
<% end %>
</ul>