Sha256: b9248f4f8570574c551eb2174d41439afd70af1aa13d548e41454e30bcd11715

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

require 'rails/generators'

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

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

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

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ads-rails-5.1.0 lib/generators/ads/install/install_generator.rb
ads-rails-4.0.0.1 lib/generators/ads/install/install_generator.rb
ads-rails-4.0.0.0 lib/generators/ads/install/install_generator.rb