Sha256: d7c91d2f734382255b2052c0907fe66f2611809a9e7ce0f17827ccf25b052e71
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
module Marksman class Writer def initialize(file, output_directory, theme = nil) @file = file @output_directory = output_directory @theme = theme end def generate presentation = Marksman::Parser.new.parse(@file) presentation.theme = Theme.new(@theme) if @theme Marksman::Converter.new(presentation).write(@output_directory) presentation end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marksman-0.1 | lib/marksman/writer.rb |