Method: CodeRunner.scan

Defined in:
lib/coderunner/class_methods.rb

.scan(scan_string, copts = {}) ⇒ Object



645
646
647
648
649
# File 'lib/coderunner/class_methods.rb', line 645

def self.scan(scan_string, copts={})
#       process_copts(copts)
  runner = fetch_runner(copts)
    runner.simple_scan(scan_string, nprocs: copts[:n], version: copts[:v], skip: copts[:k], parameters: copts[:p][0])
end