Class: Pindo::Command::Utils::Xcasserts

Inherits:
Pindo::Command::Utils show all
Defined in:
lib/pindo/command/utils/xcassets.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Xcasserts



27
28
29
30
# File 'lib/pindo/command/utils/xcassets.rb', line 27

def initialize(argv)
    super(argv)
    @additional_args = argv.remainder!
end

Class Method Details

.optionsObject



21
22
23
24
25
# File 'lib/pindo/command/utils/xcassets.rb', line 21

def self.options
  [
        
  ].concat(super)
end

Instance Method Details

#runObject



36
37
38
39
40
41
# File 'lib/pindo/command/utils/xcassets.rb', line 36

def run
    current_dir = Dir.pwd;

    command = 'sh ' + File.join(File.expand_path('./', __dir__), 'xcassets.sh') + " #{current_dir}"
    system command
end

#validate!Object



32
33
34
# File 'lib/pindo/command/utils/xcassets.rb', line 32

def validate!
    super
end