Sha256: 0ef6426be6915c001397765e24e9933d0582978e1b466e412267335d703661fe
Contents?: true
Size: 513 Bytes
Versions: 10
Compression:
Stored size: 513 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') File.open('.gitignore','a'){|f| f.write("\nconfig/initializers/epom.rb")} end if File.exist?('../../.gitignore') File.open('../../.gitignore','a'){|f| f.write("\ntest/dummy/config/initializers/epom.rb")} end end end end
Version data entries
10 entries across 10 versions & 1 rubygems