Skip to Content Skip to Search
Methods
G

Constants

IPS_GEM_NAME = "benchmark-ips"
 

Instance Public methods

generate_layout()

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