Class: Pod::Command::Binary::Init
- Inherits:
-
Pod::Command::Binary
- Object
- Pod::Command
- Pod::Command::Binary
- Pod::Command::Binary::Init
- Defined in:
- lib/cocoapods-tdfire-binary/command/init.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Init
constructor
A new instance of Init.
- #run ⇒ Object
Methods inherited from Pod::Command::Binary
#binary_config, #first_podspec, #private_sources
Constructor Details
Instance Method Details
#run ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/cocoapods-tdfire-binary/command/init.rb', line 20 def run @asker. hash = binary_config.setting_hash Tdfire::InitAsker::QUESTIONS.each do |k, v| hash[k] = @asker.ask_with_answer(v, hash[k]) end binary_config.config_with_setting(hash) @asker. end |