Class: MarkdownFormatter::ASTNode::List
- Defined in:
- lib/markdown_formatter/nodes/list.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(node, nest_level = 0) ⇒ List
constructor
A new instance of List.
- #to_s ⇒ Object
Constructor Details
#initialize(node, nest_level = 0) ⇒ List
Returns a new instance of List.
4 5 6 7 |
# File 'lib/markdown_formatter/nodes/list.rb', line 4 def initialize(node, nest_level = 0) super(node) @nest_level = nest_level end |