Sha256: 4ca0f175c334b281be73b6df6be17ba35e9262a3e946096e7be25f43fee3cf43
Contents?: true
Size: 347 Bytes
Versions: 12
Compression:
Stored size: 347 Bytes
Contents
# this is the same code as in rake/rake_test_loader.rb # except it duplicates ARGV before iterating over it. # # This prevents an error in Ruby 1.9 when one of the # loaded files attempts to modify ARGV. In that case # you get an error like: 'can't modify array during # iteration (RuntimeError)' ARGV.dup.each { |f| load f unless f =~ /^-/ }
Version data entries
12 entries across 12 versions & 2 rubygems