Class: Slideshow::Toolii
- Inherits:
-
Object
- Object
- Slideshow::Toolii
- Extended by:
- GLI::App
- Defined in:
- lib/slideshow/cli/main.rb
Class Method Summary collapse
- .config ⇒ Object
- .config=(value) ⇒ Object
- .logger ⇒ Object
- .logger=(value) ⇒ Object
- .opts ⇒ Object
-
.opts=(value) ⇒ Object
todo: find a better name e.g.
Instance Method Summary collapse
-
#FILE ⇒ Object
todo/fix: check multiple will not print typeo???.
-
#verbose ⇒ Object
todo: use -w for short form? check ruby interpreter if in use too?.
Class Method Details
.config ⇒ Object
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 |
.logger ⇒ Object
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 |
.opts ⇒ Object
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
#FILE ⇒ Object
todo/fix: check multiple will not print typeo???
90 |
# File 'lib/slideshow/cli/main.rb', line 90 arg_name 'FILE', multiple: true |
#verbose ⇒ Object
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 |