Sha256: 1a9ec5416b58478ca957faca669b65035784aaaab9e35b3d8cd67cb1e411c0f5
Contents?: true
Size: 295 Bytes
Versions: 2
Compression:
Stored size: 295 Bytes
Contents
require 'ghost_writer/writer/base' class GhostWriter::Writer 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)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ghost_writer-0.5.0 | lib/ghost_writer/writer/markdown.rb |
ghost_writer-0.4.2 | lib/ghost_writer/writer/markdown.rb |