Class: ArticleJSON::Export::PlainText::Elements::Quote
- Defined in:
- lib/article_json/export/plain_text/elements/quote.rb
Instance Method Summary collapse
-
#export ⇒ String
Quotes are just rendered with a preceding blank line.
Methods inherited from Base
Methods included from Common::Elements::Base
Instance Method Details
#export ⇒ String
Quotes are just rendered with a preceding blank line. If a caption is present, it is rendered below the quote indented with two dashes.
9 10 11 |
# File 'lib/article_json/export/plain_text/elements/quote.rb', line 9 def export "\n#{quote_text}\n" end |