Sha256: 62340df02b0c62199e7056d2099719bd9fbfbbffc2d9a08608f2a597c3efcd76

Contents?: true

Size: 415 Bytes

Versions: 5

Compression:

Stored size: 415 Bytes

Contents

require 'merb/generators/merb_generator_helpers'

class ModelGenerator < Merb::GeneratorHelpers::ModelGeneratorBase
  
  def initialize( *args )
    super( *args )
    options[:skip_migration] = true
    @model_template_name = "new_model_template.erb"
    # @migration_generator_name = "dm_migration"
    @model_test_generator_name = "merb_model_test"
  end
  
  def self.superclass
    RubiGen::Base
  end
    
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
merb_datamapper-0.4.2 datamapper_generators/model/model_generator.rb
merb_datamapper-0.4.3 datamapper_generators/model/model_generator.rb
merb_datamapper-0.4.4 datamapper_generators/model/model_generator.rb
merb_datamapper-0.5 datamapper_generators/model/model_generator.rb
merb_data_mapper-0.4.0 data_mapper_generators/model/model_generator.rb