Method: ZergXcode::Plugins::Retarget#run

Defined in:
lib/zerg_xcode/plugins/retarget.rb

#run(args) ⇒ Object



26
27
28
29
30
31
32
33
# File 'lib/zerg_xcode/plugins/retarget.rb', line 26

def run(args)
  path = args.shift
  pattern = args.shift
  regexp = Regexp.compile pattern
  project = ZergXcode.load path
  retarget! project, regexp, args
  project.save!
end