Method: Benchmark::Driver::Configuration::Executable.parse

Defined in:
lib/benchmark/driver/configuration.rb

.parse(name_path) ⇒ Object



26
27
28
29
# File 'lib/benchmark/driver/configuration.rb', line 26

def self.parse(name_path)
  name, path = name_path.split('::', 2)
  Benchmark::Driver::Configuration::Executable.new(name, path ? path.split(',') : [name])
end