class Bade::AST::DoctypeNode
Public Instance Methods
xml_output()
click to toggle source
@return [String]
# File lib/bade/ast/node/doctype_node.rb, line 11 def xml_output case value when 'xml' '<?xml version="1.0" encoding="utf-8" ?>' when 'html' '<!DOCTYPE html>' else raise Parser::ParserInternalError, 'Unknown doctype type' end end