6.1.2 EmptyTag Objects

##
6.1.2 EmptyTag Objects

`has_content`( | )

  Returns `0` to inform the template parser that the tag does not enclose content.

`to_html`( | ctx)

  The template interpreter calls this method to convert the tag to HTML for the execution context in the ctx argument. The default implementation does nothing.

  You must override this method in your tag class to perform all actions which are necessary to ``execute'' the tag.