Class: Pindo::Command::Gplay::Screenshots
- Inherits:
-
Gplay
- Object
- Gplay
- Pindo::Command::Gplay::Screenshots
- Defined in:
- lib/pindo/command/gplay/screenshots.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Screenshots
constructor
A new instance of Screenshots.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Screenshots
Returns a new instance of Screenshots.
48 49 50 51 52 |
# File 'lib/pindo/command/gplay/screenshots.rb', line 48 def initialize(argv) @options = (argv) @args_download_name = @options[:down] || false super end |
Class Method Details
.option_items ⇒ Object
40 41 42 |
# File 'lib/pindo/command/gplay/screenshots.rb', line 40 def self.option_items @option_items ||= Pindo::Options::UtilsOptions.select(:down) end |
.options ⇒ Object
44 45 46 |
# File 'lib/pindo/command/gplay/screenshots.rb', line 44 def self. option_items.map(&:to_claide_option).concat(super) end |
Instance Method Details
#run ⇒ Object
55 56 57 |
# File 'lib/pindo/command/gplay/screenshots.rb', line 55 def run end |