Class: Marker::List
- Inherits:
-
RecursiveList
- Object
- Treetop::Runtime::SyntaxNode
- ParseNode
- RecursiveList
- Marker::List
- Defined in:
- lib/marker/lists.rb
Instance Method Summary collapse
Methods inherited from RecursiveList
Methods inherited from Treetop::Runtime::SyntaxNode
Instance Method Details
#builder ⇒ Object
143 144 145 146 147 148 149 |
# File 'lib/marker/lists.rb', line 143 def builder list_builder = ListBuilder.new(:root) to_a.each do |node| list_builder.add( node.builder ) end list_builder end |
#to_html(options = {}) ⇒ Object
151 152 153 |
# File 'lib/marker/lists.rb', line 151 def to_html( = {} ) builder.to_html() end |
#to_s(options = {}) ⇒ Object
155 156 157 |
# File 'lib/marker/lists.rb', line 155 def to_s( = {} ) builder.to_s() end |