Sha256: accac0a93f74777cb19d9bf143d5d1813d050eb51037c7a11210db425dc1a9af
Contents?: true
Size: 310 Bytes
Versions: 17
Compression:
Stored size: 310 Bytes
Contents
module Source2MD class Section def initialize(content) @content = content end def to_md elements.collect(&:to_md).compact * "\n\n" end private def elements @elements ||= Scanner.new(@content).to_a.collect do |e| Element.new(e) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems