Class: Pod::Command::Change
- Inherits:
-
DevCommand
- Object
- Pod::Command
- DevCommand
- Pod::Command::Change
- Defined in:
- lib/cocoapods-devtool/command/change.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Change
constructor
A new instance of Change.
- #run ⇒ Object
- #validate! ⇒ Object
Constructor Details
#initialize(argv) ⇒ Change
Returns a new instance of Change.
15 16 17 |
# File 'lib/cocoapods-devtool/command/change.rb', line 15 def initialize(argv) super end |
Instance Method Details
#run ⇒ Object
25 26 27 |
# File 'lib/cocoapods-devtool/command/change.rb', line 25 def run self.change_project end |
#validate! ⇒ Object
19 20 21 22 23 |
# File 'lib/cocoapods-devtool/command/change.rb', line 19 def validate! super settingTool = UserSetting::Setting.new() help! "请先用pod devtool setting设置change_bundle_pre和dev_team" if settingTool.dev_team.empty? || settingTool.change_bundle_pre.empty? end |