Sha256: cd5239068361af7e18b8979cbccf4d80127157c9a7f7e6096f0f7a4133862fde
Contents?: true
Size: 908 Bytes
Versions: 3
Compression:
Stored size: 908 Bytes
Contents
require 'rdvd-slideshow/slideshow_task' require 'rprogram/program' module RDvdSlideshow class Slideshow < RProgram::Program name_program "dvd-slideshow" def initialize(path) super(path) end # # Launches the building of the slideshow. # Options and/or block can be passed to configure the slideshow. # Example: # Slideshow.build(:output_dir=>"output",:input_file=>"input.txt") # # or with a block: # Slideshow.build do |show| # show.output_dir = "output" # show.write_input do |input| # input.image "toto.jpg", "0.5" # end # end # def self.build(options={},&block) self.find.build(options,&block) end # # Instance method for building slideshow # def build(options={},&block) run_task(SlideshowTask.new(options,&block)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rdvd-slideshow-0.0.1 | lib/rdvd-slideshow/slideshow.rb |
rdvd-slideshow-0.0.3 | lib/rdvd-slideshow/slideshow.rb |
rdvd-slideshow-0.0.2 | lib/rdvd-slideshow/slideshow.rb |