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