Sha256: bb8813619313b0a7afa76bfb77a977e2d12e117afb62fb2bebcc7151a0a69ab2
Contents?: true
Size: 896 Bytes
Versions: 2
Compression:
Stored size: 896 Bytes
Contents
#!/usr/bin/env ruby begin require 'infuse' rescue LoadError => exception $:.unshift File.dirname(File.expand_path(__FILE__)) + "/../lib" retry end def title(text) InfuseDSL.instance.title = text end def author(text) InfuseDSL.instance.author = text end def company(text) InfuseDSL.instance.company = text end def copyright(text) InfuseDSL.instance.copyright = text end def subtitle(text) InfuseDSL.instance.subtitle = text end def background(text) InfuseDSL.instance.background = text end def slide(title, *content) s = Slide.new(title, content) InfuseDSL.instance.add_slide(s) end def notes(*content) InfuseDSL.instance.slides.last.notes(content) end InfuseDSL.instance.source_file = ARGV[0] InfuseDSL.instance.output_dir = File.dirname(ARGV[0]) + "/" + File.basename(ARGV[0], ".#{INFUSE_EXTENSION}") load InfuseDSL.instance.source_file InfuseDSL.instance.run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
n3bulous-infuse-0.9.0 | bin/infuse |
n3bulous-infuse-0.9.1 | bin/infuse |