Class: Dato::ListItem

Inherits:
DastNode show all
Defined in:
app/components/dato/list_item.rb

Instance Attribute Summary

Attributes inherited from Node

#root

Instance Method Summary collapse

Methods inherited from Node

#blocks, #debug_node, #overrides, #render_node

Constructor Details

#initialize(node, root) ⇒ ListItem

Returns a new instance of ListItem.



4
5
6
# File 'app/components/dato/list_item.rb', line 4

def initialize(node, root)
  super(node, "listItem", root)
end

Instance Method Details

#generated_tagObject



8
9
10
# File 'app/components/dato/list_item.rb', line 8

def generated_tag
  "li"
end