Sha256: 9c7a01641d726761da01ee7db8ac5ac8145bbabc68c4969f29e445dea735dfb2

Contents?: true

Size: 287 Bytes

Versions: 3

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

class ActiveReport::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  def copy_initializer_file
    copy_file('install.rb', 'config/initializers/active_report.rb')
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_report-5.1.0 lib/generators/active_report/install_generator.rb
active_report-5.0.1 lib/generators/active_report/install_generator.rb
active_report-5.0.0 lib/generators/active_report/install_generator.rb