class PpmToGdlTask
Public Instance Methods
execute(customer, srcPath, destPath, verbose=false)
click to toggle source
# File lib/ppmtogdl/ppmtogdltask.rb, line 16 def execute(customer, srcPath, destPath, verbose=false) filenames = [srcPath, destPath] raise "Missing source file path." unless (! srcPath.nil? && !srcPath.empty?) raise "Missing destination file path." unless (! destPath.nil? && !destPath.empty?) app = PpmToGdlController.new app.customer = customer app.setFilenames(filenames) app.verbose = verbose app.doSomething() end