Class: ArticleJSON::Export::PlainText::Elements::List
- Defined in:
- lib/article_json/export/plain_text/elements/list.rb
Instance Method Summary collapse
-
#export ⇒ String
List of strings, one per line.
Methods inherited from Base
Methods included from Common::Elements::Base
Instance Method Details
#export ⇒ String
List of strings, one per line. If the list type is “ordered” then each line is preceded with a number, otherwise a dash. Newlines within a list item are indented accordingly.
10 11 12 |
# File 'lib/article_json/export/plain_text/elements/list.rb', line 10 def export "#{list}\n" end |