class Cucumber::Rake::Task::ForkedCucumberRunner
:nodoc:
def initialize(libs, cucumber_bin, cucumber_opts, feature_files)
def initialize(libs, cucumber_bin, cucumber_opts, feature_files) @args = ( ['-I'] + load_path(libs) + quoted_binary(cucumber_bin) + cucumber_opts + feature_files ).flatten end
def load_path(libs)
def load_path(libs) ['"%s"' % libs.join(File::PATH_SEPARATOR)] end
def quoted_binary(cucumber_bin)
def quoted_binary(cucumber_bin) ['"%s"' % cucumber_bin] end
def run
def run ruby(args.join(" ")) # ruby(*args) is broken on Windows end