Sha256: 38a02f7b64fc21f05f8a9e91f14fcf83c0dd2cfb262622479663d85f13a91f53

Contents?: true

Size: 254 Bytes

Versions: 4

Compression:

Stored size: 254 Bytes

Contents

require 'rails/generators'

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

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

    def create_initializer
      copy_file 'ads.rb', 'config/initializers/ads.rb'
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ads-rails-0.2.3 lib/generators/ads/install_generator.rb
ads-rails-0.2.2 lib/generators/ads/install_generator.rb
ads-rails-0.2.1 lib/generators/ads/install_generator.rb
ads-rails-0.2.0 lib/generators/ads/install_generator.rb