Sha256: e66e99311b446cd34e547496bd4ab7b596b572dc74131780e65f2a2c72c94340

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

require 'rails'
require 'rails/generators'

module Cloudfront
	class InstallGenerator < Rails::Generators::Base
		source_root File.expand_path("../templates", __FILE__)
		
		desc "This generator creates an initializer file at config/initializers"
		def add_initializer
			template "cloudfront-private.rb", "config/initializers/cloudfront-private.rb"
		end
	end
end
	

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cloudfront-private-0.0.3 lib/generators/cloudfront/install/install_generator.rb
cloudfront-private-0.0.2 lib/generators/cloudfront/install/install_generator.rb
cloudfront-private-0.0.1 lib/generators/cloudfront/install/install_generator.rb