Module: Slideshow

Defined in:
lib/slideshow.rb,
lib/slideshow/cli/main.rb,
lib/slideshow/cli/opts.rb

Defined Under Namespace

Classes: Opts, Tool, Toolii

Class Method Summary collapse

Class Method Details

.mainObject

def self.main_old

  # allow env variable to set RUBYOPT-style default command line options
  #   e.g. -o slides -t <your_template_manifest_here>
  slideshowopt = Env.slideshowopt

  args = []
  args += slideshowopt.split if slideshowopt
  args += ARGV.dup

  Runner.new.run(args)
end


48
49
50
# File 'lib/slideshow.rb', line 48

def self.main
  exit Tool.new.run(ARGV)
end