Class: RFormUnit::Process

Inherits:
Object
  • Object
show all
Includes:
Driver, Singleton
Defined in:
lib/rformunit/process.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Driver

#close_window, #driver, #focus_window, #init, #key_press, #open_file_dialog, #set_autoit_option, #wait_and_focus_window, #wait_for_window, #window_exists?

Class Method Details

.execute(prog, work_path = nil) ⇒ Object



14
15
16
# File 'lib/rformunit/process.rb', line 14

def self.execute(prog, work_path = nil)
  instance._run(prog, work_path)
end

.run(prog, work_path = nil) ⇒ Object



10
11
12
# File 'lib/rformunit/process.rb', line 10

def self.run(prog, work_path = nil)
  instance._run(prog, work_path)
end

Instance Method Details

#_run(program, work_path = nil) ⇒ Object

– instance methods



20
21
22
# File 'lib/rformunit/process.rb', line 20

def _run(program, work_path = nil)
  driver.Run(program, work_path)
end