Module: Hemingway::ItemizeListNode

Defined in:
lib/hemingway/block/list/list_nodes.rb

Instance Method Summary collapse

Instance Method Details

#html(block_content) ⇒ Object



4
5
6
# File 'lib/hemingway/block/list/list_nodes.rb', line 4

def html(block_content)
  Build.tag("ul", block_content.elements.map { |e| e.list_html }.join)
end