class GhostWriter::IndexWriter::Markdown
Private Instance Methods
extname()
click to toggle source
# File lib/ghost_writer/index_writer/markdown.rb, line 7 def extname "md" end
template()
click to toggle source
# File lib/ghost_writer/index_writer/markdown.rb, line 11 def template path = File.join(File.expand_path(File.dirname(__FILE__)), "templates", "markdown.erb") ERB.new(File.read(path), nil, "%-") end