Class: ContentfulConverter::Nodes::Code

Inherits:
Text
  • Object
show all
Defined in:
lib/contentful_converter/nodes/code.rb

Instance Attribute Summary

Attributes inherited from Base

#content, #node_type, #nokogiri_node, #parent

Instance Method Summary collapse

Methods inherited from Text

#to_h

Methods inherited from Base

#add_content, #initialize, #needs_p_wrapping?, #to_h

Constructor Details

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

Instance Method Details

#marksObject



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

def marks
  ['code']
end