Sha256: bc161d0c311f5652b1be8d09b59aad628b60596ee587f40d0ff58aca20929cc2

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

require 'rails/generators'

module Attachs
  module Generators
    class InstallGenerator < ::Rails::Generators::Base

      source_root File.expand_path('../templates', __FILE__)

      def create_initializer_file
        copy_file 'initializer.rb', 'config/initializers/attachs.rb'
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attachs-4.0.0.1 lib/generators/attachs/install/install_generator.rb
attachs-4.0.0.0 lib/generators/attachs/install/install_generator.rb