method

non_options

v2_1_10 - Show latest stable - Class: Test::Unit::Options
non_options(files, options)
private

No documentation available.

# File lib/test/unit.rb, line 146
      def non_options(files, options)
        begin
          require "rbconfig"
        rescue LoadError
          warn "#{caller(1)[0]}: warning: Parallel running disabled because can't get path to ruby; run specify with --ruby argument"
          options[:parallel] = nil
        else
          options[:ruby] ||= [RbConfig.ruby]
        end

        true
      end