Class: ArticleJSON::Export::PlainText::Elements::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/article_json/export/plain_text/elements/text.rb

Instance Method Summary collapse

Methods inherited from Base

namespace

Methods included from Common::Elements::Base

included, #initialize

Instance Method Details

#exportString

Text is just returned plain, no formatting or linking is taken into account.

Returns:

  • (String)


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

def export
  @element.content
end