Module: Hemingway::EnumerateListNode

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

Instance Method Summary collapse

Instance Method Details

#html(block_content) ⇒ Object



10
11
12
# File 'lib/hemingway/block/list/list_nodes.rb', line 10

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