Method: ArticleJSON::Export::Common::HTML::Elements::Base#export
- Defined in:
- lib/article_json/export/common/html/elements/base.rb
#export ⇒ Nokogiri::XML::NodeSet
Export a HTML node out of the given element Dynamically looks up the right export-element-class, instantiates it and then calls the #build method.
21 22 23 |
# File 'lib/article_json/export/common/html/elements/base.rb', line 21 def export exporter.export unless exporter.nil? end |