Sha256: c9c38bb5f09d8b272105b3e40f7eb176e3de948c1211985e968f089a2b4410f0

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module Epom
	class ConfigGenerator < Rails::Generators::Base
	  source_root File.expand_path('../templates', __FILE__)

	  	def copy_epom_file
	        template 'epom.rb', 'config/initializers/epom.rb'
	        if File.exist?('.gitignore')
	        	inject_into_file '.gitignore', after: ".bundle/" do "\nconfig/initializers/epom.rb" end
	        end
	   	end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
epom-0.9.6 lib/generators/epom/config/config_generator.rb