Class: Slideshow::Toolii

Inherits:
Object
  • Object
show all
Extended by:
GLI::App
Defined in:
lib/slideshow/cli/main.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.configObject



32
# File 'lib/slideshow/cli/main.rb', line 32

def self.config()        @@config; end

.config=(value) ⇒ Object



31
# File 'lib/slideshow/cli/main.rb', line 31

def self.config=(value)  @@config = value; end

.loggerObject



25
# File 'lib/slideshow/cli/main.rb', line 25

def self.logger()       @@logger; end

.logger=(value) ⇒ Object



24
# File 'lib/slideshow/cli/main.rb', line 24

def self.logger=(value) @@logger=value; end

.optsObject



29
# File 'lib/slideshow/cli/main.rb', line 29

def self.opts()        @@opts; end

.opts=(value) ⇒ Object

todo: find a better name e.g. change to settings? config? safe_opts? why? why not?



28
# File 'lib/slideshow/cli/main.rb', line 28

def self.opts=(value)  @@opts = value; end

Instance Method Details

#FILEObject

todo/fix: check multiple will not print typeo???



90
# File 'lib/slideshow/cli/main.rb', line 90

arg_name 'FILE', multiple: true

#verboseObject

todo: use -w for short form? check ruby interpreter if in use too?



77
# File 'lib/slideshow/cli/main.rb', line 77

switch [:verbose], negatable: false