Class: XmlToGdlTask

Inherits:
Object
  • Object
show all
Defined in:
lib/xmlutils/xmltogdltask.rb

Instance Method Summary collapse

Instance Method Details

#execute(srcPath, destPath, verbose = false) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/xmlutils/xmltogdltask.rb', line 13

def execute(srcPath, destPath, verbose=false)
  filenames = [srcPath, destPath]

  app = XmlToGdlController.new
  app.setFilenames(filenames)
  app.setVerbose(verbose)
  app.doSomething()
end