Module: Slideshow

Defined in:
lib/slideshow/filters/text_filter.rb,
lib/slideshow.rb,
lib/slideshow/gen.rb,
lib/slideshow/opts.rb,
lib/slideshow/fetch.rb,
lib/slideshow/slide.rb,
lib/slideshow/config.rb,
lib/slideshow/manifest.rb,
lib/slideshow/markup/rest.rb,
lib/slideshow/markup/textile.rb,
lib/slideshow/markup/markdown.rb,
lib/slideshow/helpers/text_helper.rb,
lib/slideshow/helpers/step_helper.rb,
lib/slideshow/helpers/table_helper.rb,
lib/slideshow/filters/debug_filter.rb,
lib/slideshow/filters/slide_filter.rb,
lib/slideshow/helpers/source_helper.rb,
lib/slideshow/helpers/capture_helper.rb,
lib/slideshow/filters/headers_filter.rb,
lib/slideshow/helpers/markdown_helper.rb,
lib/slideshow/helpers/syntax/sh_helper.rb,
lib/slideshow/helpers/analytics_helper.rb,
lib/slideshow/helpers/syntax/uv_helper.rb,
lib/slideshow/helpers/directive_helper.rb,
lib/slideshow/helpers/background_helper.rb,
lib/slideshow/helpers/syntax/coderay_helper.rb

Overview

Originally based on code from Rails and Merb; adapted from Webby.

Defined Under Namespace

Modules: AnalyticsHelper, BackgroundHelper, CaptureHelper, DebugFilter, DirectiveHelper, Fetch, HeadersFilter, Manifest, MarkdownEngines, MarkdownHelper, RestEngines, SlideFilter, SourceHelper, StepHelper, Syntax, TableHelper, TextFilter, TextHelper, TextileEngines Classes: Config, Gen, Opts, Slide

Constant Summary

VERSION =
'0.9.7'

Class Method Summary (collapse)

Class Method Details

+ (Object) generator

version string for generator meta tag (includes ruby version)



60
61
62
# File 'lib/slideshow.rb', line 60

def Slideshow.generator
  "Slide Show (S9) #{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end

+ (Object) main



64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/slideshow.rb', line 64

def Slideshow.main
  
  # 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
  
  Gen.new.run(args)
end