Class: XcodeUtils::Command::Carthage::Clean
- Inherits:
-
XcodeUtils::Command::Carthage
- Object
- CLAide::Command
- XcodeUtils::Command
- XcodeUtils::Command::Carthage
- XcodeUtils::Command::Carthage::Clean
- Defined in:
- lib/xcutils/carthage.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Clean
constructor
A new instance of Clean.
- #run ⇒ Object
- #validate! ⇒ Object
Methods inherited from XcodeUtils::Command::Carthage
Constructor Details
#initialize(argv) ⇒ Clean
Returns a new instance of Clean.
40 41 42 43 |
# File 'lib/xcutils/carthage.rb', line 40 def initialize(argv) super @additional_args = argv.remainder! end |
Class Method Details
.options ⇒ Object
36 37 38 |
# File 'lib/xcutils/carthage.rb', line 36 def self. [] end |
Instance Method Details
#run ⇒ Object
48 49 50 51 |
# File 'lib/xcutils/carthage.rb', line 48 def run XcodeUtils::Carthage::XcodeConfig.new.clean system("rm -rf ./Carthage") end |
#validate! ⇒ Object
45 46 |
# File 'lib/xcutils/carthage.rb', line 45 def validate! end |