Sha256: 0612ac57beffcf864e5d3f110b87379ddd11dd5930b47c4432300d62c09a8bfd

Contents?: true

Size: 280 Bytes

Versions: 8

Compression:

Stored size: 280 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

8 entries across 8 versions & 1 rubygems

Version Path
active_archive-4.0.7 lib/generators/active_archive/install_generator.rb
active_archive-4.0.6 lib/generators/active_archive/install_generator.rb
active_archive-4.0.5 lib/generators/active_archive/install_generator.rb
active_archive-4.0.4 lib/generators/active_archive/install_generator.rb
active_archive-4.0.3 lib/generators/active_archive/install_generator.rb
active_archive-4.0.2 lib/generators/active_archive/install_generator.rb
active_archive-4.0.1 lib/generators/active_archive/install_generator.rb
active_archive-4.0.0 lib/generators/active_archive/install_generator.rb