class Arbre::HTML::Document

def build(*args)

def build(*args)
  super
  build_head
  build_body
end

def build_body

def build_body
  @body = body
end

def build_head

def build_head
  @head = head do
    meta "http-equiv": "Content-type", content: "text/html; charset=utf-8"
  end
end

def doctype

def doctype
  '<!DOCTYPE html>'.html_safe
end

def document

def document
  self
end

def tag_name

def tag_name
  'html'
end

def to_s

def to_s
  doctype + super
end