Module: Hemingway::DescriptionListNode

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

Instance Method Summary collapse

Instance Method Details

#html(block_content) ⇒ Object



16
17
18
# File 'lib/hemingway/block/list/list_nodes.rb', line 16

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