This is a document. Basically, this is a multi-line string literal.
In the lines after the line with <<-HTML these are literal lines concatenated by newline characters - until a final marker is reached, which in this case is equal to HTML .
source share