Method: ArticleJSON::Export::Common::Elements::Base#export

Defined in:
lib/article_json/export/common/elements/base.rb

#exportObject

Export the given element. Dynamically looks up the right export-element-class, instantiates it and then calls the #export method.

Returns:

  • (Object)


20
21
22
# File 'lib/article_json/export/common/elements/base.rb', line 20

def export
  exporter.export unless exporter.nil?
end