Module: ArticleJSON::Export::Common::HTML::Elements::Heading
- Included in:
- AMP::Elements::Heading, FacebookInstantArticle::Elements::Heading, HTML::Elements::Heading
- Defined in:
- lib/article_json/export/common/html/elements/heading.rb
Instance Method Summary collapse
-
#export ⇒ Nokogiri::XML::NodeSet
Generate the heading element with the right text.
Instance Method Details
#export ⇒ Nokogiri::XML::NodeSet
Generate the heading element with the right text
9 10 11 |
# File 'lib/article_json/export/common/html/elements/heading.rb', line 9 def export create_element(tag_name, @element.content) end |