class Pod::Command::Bin::Update
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
Pod::Command::Bin::new
# File lib/cocoapods-pahealth-bin/command/bin/update.rb, line 19 def initialize(argv) super end
options()
click to toggle source
Calls superclass method
# File lib/cocoapods-pahealth-bin/command/bin/update.rb, line 14 def self.options [ ].concat(Pod::Command::Spec::Lint.options).concat(super).uniq end
Public Instance Methods
clone_private_repo()
click to toggle source
# File lib/cocoapods-pahealth-bin/command/bin/update.rb, line 30 def clone_private_repo argvs = [] private = Pod::Command::Bin::Repo::Update.new(CLAide::ARGV.new(argvs)) private.validate! private.run end
pod_update_no_repo_update()
click to toggle source
# File lib/cocoapods-pahealth-bin/command/bin/update.rb, line 37 def pod_update_no_repo_update argvs = [ "--no-repo-update" ] update = Pod::Command::Update.new(CLAide::ARGV.new(argvs)) update.validate! update.run end
run()
click to toggle source
# File lib/cocoapods-pahealth-bin/command/bin/update.rb, line 23 def run #1.更新 repo clone_private_repo #2.执行 pod update --no-repo-update pod_update_no_repo_update end