method
custom_runner
1.1.12 -
Show latest stable
- Class:
Spec::Runner::Options
custom_runner()protected
No documentation available.
# File lib/spec/runner/options.rb, line 280
def custom_runner
return nil unless custom_runner?
klass_name, arg = ClassAndArgumentsParser.parse(user_input_for_runner)
runner_type = load_class(klass_name, 'example group runner', '--runner')
return runner_type.new(self, arg)
end