Class: Pod::Command::Install
- Inherits:
-
Pod::Command
- Object
- Pod::Command
- Pod::Command::Install
- Defined in:
- lib/cocoapods-binaryhqp/command_option/command_option.rb
Constant Summary collapse
- @@use_source =
false
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Install
constructor
A new instance of Install.
Constructor Details
#initialize(argv) ⇒ Install
11 12 13 14 |
# File 'lib/cocoapods-binaryhqp/command_option/command_option.rb', line 11 def initialize(argv) super @@use_source = argv.flag?('hsource', false) end |
Class Method Details
.all_use_source ⇒ Object
16 17 18 |
# File 'lib/cocoapods-binaryhqp/command_option/command_option.rb', line 16 def self.all_use_source @@use_source end |
.options ⇒ Object
5 6 7 8 9 |
# File 'lib/cocoapods-binaryhqp/command_option/command_option.rb', line 5 def self. [ ['--hsource', 'from cocoapods-binaryhqp, all frameworks use source code'], ].concat(super).reject { |(name, _)| name == '--no-repo-update' } end |
.run(argv) ⇒ Object
20 21 22 |
# File 'lib/cocoapods-binaryhqp/command_option/command_option.rb', line 20 def self.run(argv) super(argv) end |