class Phlex::Compiler::Generators::VoidElement
def call
def call @formatter.append do |f| f.text "<" f.text tag f.text " />" end end
def initialize(formatter, method_name:, arguments: nil)
def initialize(formatter, method_name:, arguments: nil) @formatter = formatter @method_name = method_name @arguments = arguments end
def tag
def tag HTML::VOID_ELEMENTS[@method_name] end