Method: Liquid::BlockBody.raise_missing_tag_terminator

Defined in:
lib/liquid/block_body.rb

.raise_missing_tag_terminator(token, parse_context) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:



76
77
78
# File 'lib/liquid/block_body.rb', line 76

def self.raise_missing_tag_terminator(token, parse_context)
  raise SyntaxError, parse_context.locale.t("errors.syntax.tag_termination", token: token, tag_end: TagEnd.inspect)
end