Sha256: b0ee5d9efc438d4dbbea9adb80f325cd23903014b173f73091c442661dbc9e13

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

require 'rails/generators'

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

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_archive-2.4.0 lib/generators/active_archive/install_generator.rb
active_archive-2.3.0 lib/generators/active_archive/install_generator.rb