lib/generators/ecm/cms/install/install_generator.rb in ecm_cms2-1.1.1 vs lib/generators/ecm/cms/install/install_generator.rb in ecm_cms2-2.0.2
- old
+ new
@@ -1,15 +1,15 @@
module Ecm
module Cms
module Generators
class InstallGenerator < Rails::Generators::Base
- desc "Generates the intializer"
+ desc 'Generates the intializer'
- source_root File.expand_path('../templates', __FILE__)
-
+ source_root File.expand_path('../templates', __FILE__)
+
def generate_intializer
- copy_file "ecm_cms.rb", "config/initializers/ecm_cms.rb"
- end
+ copy_file 'ecm_cms.rb', 'config/initializers/ecm_cms.rb'
+ end
end
end
end
-end
+end