Method: Infoboxer::Tree::HTMLTag#initialize

Defined in:
lib/infoboxer/tree/html.rb

#initialize(tag, attrs, children = Nodes.new) ⇒ HTMLTag

Returns a new instance of HTMLTag.



15
16
17
18
# File 'lib/infoboxer/tree/html.rb', line 15

def initialize(tag, attrs, children = Nodes.new)
  super(children, **attrs)
  @tag = tag
end