class Pod::Command::X::Install
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
# File lib/cocoapods-x/command/install.rb, line 18 def initialize(argv) @wipe_all = argv.flag?('open') @install = Pod::Command::Install::new(argv) super end
options()
click to toggle source
# File lib/cocoapods-x/command/install.rb, line 12 def self.options options = Pod::Command::Install::options options << ['--open', 'Remove all the cached without asking'] options end
Public Instance Methods
run()
click to toggle source
# File lib/cocoapods-x/command/install.rb, line 24 def run @install::run if @wipe_all xcopen = Pod::X::Xcode::Open::new xcopen.run! end end