method

non_options

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

No documentation available.

# File lib/test/unit.rb, line 112
      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