Sha256: 0c5a54d37116eae51a576c1421cf5ca496393604a9cce45383632d42daf10b70
Contents?: true
Size: 510 Bytes
Versions: 26
Compression:
Stored size: 510 Bytes
Contents
module RevealCK # # Public: A Slide produces HTML output to be included in a # presentation. Presently, this output is based upon a template. # class Slide include Retrieve def initialize(args) template = retrieve(:template, args) config = args[:config] || {} file = Templates::Finder.new.find template @template = Templates::Processor.open(file: file, config: config) @variables = args end def html @template.output(@variables) end end end
Version data entries
26 entries across 26 versions & 1 rubygems