class Wxp::Command::Op::Xcache

Public Class Methods

new(argv) click to toggle source
Calls superclass method Wxp::Command::new
# File lib/wxp/command/op/xcache.rb, line 14
def initialize(argv)
  super
end

Public Instance Methods

openXcodeCache() click to toggle source
# File lib/wxp/command/op/xcache.rb, line 26
def openXcodeCache
  puts 'Xcode缓存路径为:~/Library/Developer/Xcode/DerivedData/'.green
  system 'open ~/Library/Developer/Xcode/DerivedData/'
end
run() click to toggle source
# File lib/wxp/command/op/xcache.rb, line 22
def run
  openXcodeCache
end
validate!() click to toggle source
Calls superclass method
# File lib/wxp/command/op/xcache.rb, line 18
def validate!
  super
end