module Test::Unit::RequireFiles
Public Instance Methods
non_options(files, options)
click to toggle source
Calls superclass method
# File lib/test/unit.rb, line 236 def non_options(files, options) return false if !super result = false files.each {|f| d = File.dirname(path = File.realpath(f)) unless $:.include? d $: << d end begin require path unless options[:parallel] result = true rescue LoadError puts "#{f}: #{$!}" end } result end