Class: Storyblok::Richtext::Nodes::ListItem
- Defined in:
- lib/storyblok/richtext/html_renderer/nodes/list_item.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
#html, #initialize, #single_tag, #text
Constructor Details
This class inherits a constructor from Storyblok::Richtext::Nodes::Node
Instance Method Details
#matching ⇒ Object
4 5 6 |
# File 'lib/storyblok/richtext/html_renderer/nodes/list_item.rb', line 4 def matching @node['type'] === 'list_item' end |
#tag ⇒ Object
8 9 10 |
# File 'lib/storyblok/richtext/html_renderer/nodes/list_item.rb', line 8 def tag 'li' end |