Class: ContentfulConverter::Nodes::UnorderedList
- Defined in:
- lib/contentful_converter/nodes/unordered_list.rb
Instance Attribute Summary
Attributes inherited from Base
#content, #node_type, #nokogiri_node, #parent
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ContentfulConverter::Nodes::Base
Instance Method Details
#add_content(node) ⇒ Object
12 13 14 15 16 |
# File 'lib/contentful_converter/nodes/unordered_list.rb', line 12 def add_content(node) return unless node.class == Nodes::ListItem super end |
#needs_p_wrapping? ⇒ Boolean
8 9 10 |
# File 'lib/contentful_converter/nodes/unordered_list.rb', line 8 def needs_p_wrapping? false end |