Class: Wxp::Command::Op::Xcache
- Inherits:
-
Wxp::Command::Op
- Object
- CLAide::Command
- Wxp::Command
- Wxp::Command::Op
- Wxp::Command::Op::Xcache
- Defined in:
- lib/wxp/command/op/xcache.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Xcache
constructor
A new instance of Xcache.
- #openXcodeCache ⇒ Object
- #run ⇒ Object
- #validate! ⇒ Object
Methods inherited from Wxp::Command
Constructor Details
#initialize(argv) ⇒ Xcache
Returns a new instance of Xcache.
14 15 16 |
# File 'lib/wxp/command/op/xcache.rb', line 14 def initialize(argv) super end |
Instance Method Details
#openXcodeCache ⇒ Object
26 27 28 29 |
# 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 ⇒ Object
22 23 24 |
# File 'lib/wxp/command/op/xcache.rb', line 22 def run openXcodeCache end |
#validate! ⇒ Object
18 19 20 |
# File 'lib/wxp/command/op/xcache.rb', line 18 def validate! super end |