Class: Pindo::Command::Utils::Xcasserts
Constant Summary
DEFAULT_OPTIONS, DEFAULT_ROOT_OPTIONS
Instance Attribute Summary
#args_help_flag
Class Method Summary
collapse
Instance Method Summary
collapse
command_name, #initialize_options, run, use_cache?
#pindo_log_instance
#pindo_single_config
Constructor Details
#initialize(argv) ⇒ Xcasserts
55
56
57
58
|
# File 'lib/pindo/command/utils/xcassets.rb', line 55
def initialize(argv)
super(argv)
@additional_args = argv.remainder!
end
|
Class Method Details
.options ⇒ Object
49
50
51
52
53
|
# File 'lib/pindo/command/utils/xcassets.rb', line 49
def self.options
[
].concat(super)
end
|
Instance Method Details
#run ⇒ Object
64
65
66
67
68
69
|
# File 'lib/pindo/command/utils/xcassets.rb', line 64
def run
current_dir = Dir.pwd;
command = 'sh ' + File.join(File.expand_path('./', __dir__), 'xcassets.sh') + " #{current_dir}"
system command
end
|
#validate! ⇒ Object
60
61
62
|
# File 'lib/pindo/command/utils/xcassets.rb', line 60
def validate!
super
end
|