class Rails::Generators::BenchmarkGenerator

Constants

IPS_GEM_NAME
IPS_GEM_USED_REGEXP

Public Instance Methods

# File railties/lib/rails/generators/rails/benchmark/benchmark_generator.rb, line 13
def generate_layout
  add_ips_to_gemfile unless ips_installed?
  template("benchmark.rb.tt", "script/benchmarks/#{file_name}.rb")
end