Sha256: 110598dcd73e51b622759f920b5ea66942c14deb9cc2511757cef3188b06fe95

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module RackMiniProfiler
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path("templates", __dir__)

      def create_initializer_file
        copy_file "rack_mini_profiler.rb", "config/initializers/rack_mini_profiler.rb"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rack-mini-profiler-3.3.1 lib/generators/rack_mini_profiler/install_generator.rb
rack-mini-profiler-3.3.0 lib/generators/rack_mini_profiler/install_generator.rb
rack-mini-profiler-3.2.1 lib/generators/rack_mini_profiler/install_generator.rb
rack-mini-profiler-3.2.0 lib/generators/rack_mini_profiler/install_generator.rb
rack-mini-profiler-3.1.1 lib/generators/rack_mini_profiler/install_generator.rb
rack-mini-profiler-3.1.0 lib/generators/rack_mini_profiler/install_generator.rb