Method: ArticleJSON::Configuration#register_html_element_exporter

Defined in:
lib/article_json/configuration.rb

#register_html_element_exporter(type, klass) ⇒ Object

Deprecated.

Use ‘#register_element_exporters_for(:html, …)` instead

Register a new HTML element exporter or overwrite existing ones.

Parameters:

  • type (Symbol)
  • klass (Class)


28
29
30
# File 'lib/article_json/configuration.rb', line 28

def register_html_element_exporter(type, klass)
  register_element_exporters(:html, type => klass)
end