Class: Pindo::Command::Appstore::Screenshots
- Inherits:
-
Appstore
- Object
- Appstore
- Pindo::Command::Appstore::Screenshots
- Defined in:
- lib/pindo/command/appstore/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.
44 45 46 47 48 |
# File 'lib/pindo/command/appstore/screenshots.rb', line 44 def initialize(argv) @options = (argv) @args_download_name = @options[:down] || false super end |
Class Method Details
.option_items ⇒ Object
36 37 38 |
# File 'lib/pindo/command/appstore/screenshots.rb', line 36 def self.option_items @option_items ||= Pindo::Options::UtilsOptions.select(:down) end |
.options ⇒ Object
40 41 42 |
# File 'lib/pindo/command/appstore/screenshots.rb', line 40 def self. option_items.map(&:to_claide_option).concat(super) end |
Instance Method Details
#run ⇒ Object
51 52 53 |
# File 'lib/pindo/command/appstore/screenshots.rb', line 51 def run end |