Sha256: 18eda5b2d9d60ee90079ff4bbfc8493b1672d3d8a95529093a96024ffc3c42c1
Contents?: true
Size: 317 Bytes
Versions: 2
Compression:
Stored size: 317 Bytes
Contents
require 'ghost_writer/index_writer/base' class GhostWriter::IndexWriter class Markdown < Base private def extname "md" end def template path = File.join(File.expand_path(File.dirname(__FILE__)), "templates", "markdown.erb") ERB.new(File.read(path), nil, "%-") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ghost_writer-0.5.0 | lib/ghost_writer/index_writer/markdown.rb |
ghost_writer-0.4.2 | lib/ghost_writer/index_writer/markdown.rb |