Class: ContentfulConverter::Nodes::Header

Inherits:
Base
  • Object
show all
Defined in:
lib/contentful_converter/nodes/header.rb

Instance Attribute Summary

Attributes inherited from Base

#content, #node_type, #nokogiri_node, #parent

Instance Method Summary collapse

Methods inherited from Base

#add_content, #initialize, #to_h

Constructor Details

This class inherits a constructor from ContentfulConverter::Nodes::Base

Instance Method Details

#needs_p_wrapping?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/contentful_converter/nodes/header.rb', line 8

def needs_p_wrapping?
  false
end