Sha256: d409d967027834cb6bc44f08988894be8c07b244d166db4563bc44f1352d1e83
Contents?: true
Size: 313 Bytes
Versions: 9
Compression:
Stored size: 313 Bytes
Contents
module ReverseAdoc module Converters class Div < Base def convert(node, state = {}) id = node['id'] anchor = id ? "[[#{id}]]\n" : "" "\n#{anchor}" << treat_children(node, state) << "\n" end end register :div, Div.new register :article, Div.new end end
Version data entries
9 entries across 9 versions & 1 rubygems