Sha256: 5e69f792c3291ee01fc3fc42c5265ca45cbe8b8b9a4e24318a316bbc5ce62229

Contents?: true

Size: 279 Bytes

Versions: 4

Compression:

Stored size: 279 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", "config/initializers/active_archive.rb")
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_archive-2.2.2 lib/generators/active_archive/install_generator.rb
active_archive-2.2.1 lib/generators/active_archive/install_generator.rb
active_archive-2.2.0 lib/generators/active_archive/install_generator.rb
active_archive-2.1.0 lib/generators/active_archive/install_generator.rb