Method: ArticleJSON::Export::PlainText::Elements::Paragraph#export

Defined in:
lib/article_json/export/plain_text/elements/paragraph.rb

#exportString

Plain text from the paragraph. Any formatting is disregarded. Followed by a newline.

Returns:

  • (String)


9
10
11
# File 'lib/article_json/export/plain_text/elements/paragraph.rb', line 9

def export
  "#{text}\n"
end