Module: ArticleJSON::Export::Common::HTML::Elements::Image
- Includes:
- Shared::Caption, Shared::Float
- Defined in:
- lib/article_json/export/common/html/elements/image.rb
Instance Method Summary collapse
-
#export ⇒ Nokogiri::XML::Element
Generate the ‘<figure>` node containing the image and caption or an `<a>` node containing the `<figure>` node if href is present.
Methods included from Shared::Float
Methods included from Shared::Caption
Instance Method Details
#export ⇒ Nokogiri::XML::Element
Generate the ‘<figure>` node containing the image and caption or an `<a>` node containing the `<figure>` node if href is present.
13 14 15 |
# File 'lib/article_json/export/common/html/elements/image.rb', line 13 def export figure_node end |