lib/arbre/html/document.rb in arbre-1.7.0 vs lib/arbre/html/document.rb in arbre-2.0.0
- old
+ new
@@ -1,11 +1,10 @@
# frozen_string_literal: true
module Arbre
module HTML
class Document < Tag
-
def build(*args)
super
build_head
build_body
end
@@ -28,10 +27,10 @@
protected
def build_head
@head = head do
- meta :"http-equiv" => "Content-type", content: "text/html; charset=utf-8"
+ meta "http-equiv": "Content-type", content: "text/html; charset=utf-8"
end
end
def build_body
@body = body