Sha256: 78426b9f75ce06ddfae8010060dfd2488c90ed97f02557baa792e38afe0ff921

Contents?: true

Size: 377 Bytes

Versions: 6

Compression:

Stored size: 377 Bytes

Contents

module Ecm
  module Courses
    module Generators
      class InstallGenerator < Rails::Generators::Base
        desc "Generates the intializer"

        source_root File.expand_path('../templates', __FILE__) 
        
        def generate_intializer
          copy_file "ecm_courses.rb", "config/initializers/ecm_courses.rb"
        end   
      end
    end
  end
end        

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_courses-0.0.1 lib/generators/ecm/courses/install/install_generator.rb
ecm_courses-0.0.7.pre lib/generators/ecm/courses/install/install_generator.rb
ecm_courses-0.0.6.pre lib/generators/ecm/courses/install/install_generator.rb
ecm_courses-0.0.5.pre lib/generators/ecm/courses/install/install_generator.rb
ecm_courses-0.0.4.pre lib/generators/ecm/courses/install/install_generator.rb
ecm_courses-0.0.3.pre lib/generators/ecm/courses/install/install_generator.rb