Sha256: fb0320eeb7d65c37edf45bd6d81c8ce3c0dae6fd3297e3ec868accb55d06d1f7

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

if ENV["_"] =~ /ruby\-prof/
  if ARGV.empty?
    ARGV.concat Dir[File.join(File.dirname(__FILE__), 'spec/**/*_spec.rb')]
  end
  ARGV.each do |fi|
    next unless File.file? fi
    load fi
  end
else
  puts <<-end_banner
    This script will use ruby-prof to run the specs.

    Usage: ruby-prof do_profile.rb
  end_banner
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtml-2.0.4 do_profile.rb