Sha256: e3f1bfabfed0a37583a90755dcad9cd1d42b7f9364f7de257750e98afeed9874

Contents?: true

Size: 422 Bytes

Versions: 6

Compression:

Stored size: 422 Bytes

Contents

module Ecm
  module CmsCore
    module Generators
      class ModelsGenerator < Rails::Generators::Base
        desc "Generates the models"
             
        source_root File.expand_path('../templates', __FILE__)
      
        def generate_models
          copy_file "folder.rb", "app/models/folder.rb"
          copy_file "template.rb", "app/models/template.rb"
        end      
      end
    end
  end
end        

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.8 lib/generators/ecm/cms_core/models/models_generator.rb
ecm_cms_core-0.0.7 lib/generators/ecm/cms_core/models/models_generator.rb
ecm_cms_core-0.0.6 lib/generators/ecm/cms_core/models/models_generator.rb
ecm_cms_core-0.0.5 lib/generators/ecm/cms_core/models/models_generator.rb
ecm_cms_core-0.0.3 lib/generators/ecm/cms_core/models/models_generator.rb
ecm_cms_core-0.0.2 lib/generators/ecm/cms_core/models/models_generator.rb