Sha256: 0b71baa595fee5d62c5dd4e5bdb1f7393c034572de98d53530a33bdb85749ca4
Contents?: true
Size: 589 Bytes
Versions: 15
Compression:
Stored size: 589 Bytes
Contents
module Arbre module HTML class Document < Tag def build(*args) super build_head build_body end def document self end def tag_name 'html' end def doctype '<!DOCTYPE html>'.html_safe end def to_html doctype + super end protected def build_head @head = head do meta :"http-equiv" => "Content-type", :content => "text/html; charset=utf-8" end end def build_body @body = body end end end end
Version data entries
15 entries across 15 versions & 4 rubygems