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

Version Path
bahuvrihi-tap-0.10.0 lib/tap/patches/rake/rake_test_loader.rb
bahuvrihi-tap-0.10.1 lib/tap/patches/rake/rake_test_loader.rb
bahuvrihi-tap-0.10.2 lib/tap/patches/rake/rake_test_loader.rb
bahuvrihi-tap-0.10.3 lib/tap/patches/rake/rake_test_loader.rb
bahuvrihi-tap-0.10.4 lib/tap/patches/rake/rake_test_loader.rb
bahuvrihi-tap-0.10.5 lib/tap/patches/rake/rake_test_loader.rb
bahuvrihi-tap-0.10.6 lib/tap/patches/rake/rake_test_loader.rb
bahuvrihi-tap-0.10.7 lib/tap/patches/rake/rake_test_loader.rb
tap-0.9.0 lib/tap/patches/rake/rake_test_loader.rb
tap-0.10.1 lib/tap/patches/rake/rake_test_loader.rb
tap-0.10.0 lib/tap/patches/rake/rake_test_loader.rb
tap-0.9.1 lib/tap/patches/rake/rake_test_loader.rb