Sha256: fe104ef3b9e0c12ec8a312e1e5fd8be7dcfb843bcb54c484825c1365439d4b6d

Contents?: true

Size: 861 Bytes

Versions: 2

Compression:

Stored size: 861 Bytes

Contents

# encoding: utf-8

module Slideshow


## note: just extents version in slideshow-models


class Opts

  def merge_gli_options!( options={} )
    @header_level = 1   if options[:h1] == true
    @header_level = 2   if options[:h2] == true

    @slide     = true   if options[:slide] == true
    @takahashi = true   if options[:slide] == true

    @verbose = true     if options[:verbose] == true

    @fetch_all = true   if options[:all] == true

    @config_path = options[:config]    if options[:config].present?
    @output_path = options[:output]    if options[:output].present?

    @manifest       =   options[:template]  if options[:template].present?
    
    ## Note: will use :template option too
    @quick_manifest =   options[:template]  if options[:template].present?
  end

end # class Opts

end # module Slideshow

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slideshow-4.1.0 lib/slideshow/cli/opts.rb
slideshow-4.0.0 lib/slideshow/cli/opts.rb