Method: ArticleJSON::Elements::List#initialize
- Defined in:
- lib/article_json/elements/list.rb
#initialize(content:, list_type: :unordered) ⇒ List
Returns a new instance of List.
8 9 10 11 12 |
# File 'lib/article_json/elements/list.rb', line 8 def initialize(content:, list_type: :unordered) @type = :list @content = content @list_type = list_type end |