Module: GMDPrev

Defined in:
lib/gmdprev.rb

Class Method Summary collapse

Class Method Details

.convert(file) ⇒ Object



12
13
14
15
# File 'lib/gmdprev.rb', line 12

def self.convert(file)
	html = GitHub::Markup.render(file, File.read(file))
	File.open(file + '.html', 'w') { |f| f.write(html) }
end