Module: Slideshow
- Defined in:
- lib/slideshow.rb,
lib/slideshow/cli/main.rb,
lib/slideshow/cli/opts.rb
Defined Under Namespace
Class Method Summary collapse
-
.main ⇒ Object
def self.main_old.
Class Method Details
.main ⇒ Object
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 |