Sha256: 40f1414f2579bd63e76dcdb57e9f8e37ad62815c8fd25bd5b2d53c5ad311f147

Contents?: true

Size: 147 Bytes

Versions: 5

Compression:

Stored size: 147 Bytes

Contents

class <%= class_name %> < DataMapper::Base
<% table_attributes.each do |attr| -%>
  <%= "property :#{attr.name}, :#{attr.type}" %>
<% end -%>
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
merb_datamapper-0.4.2 datamapper_generators/model/templates/new_model_template.erb
merb_datamapper-0.4.3 datamapper_generators/model/templates/new_model_template.erb
merb_datamapper-0.4.4 datamapper_generators/model/templates/new_model_template.erb
merb_datamapper-0.5 datamapper_generators/model/templates/new_model_template.erb
merb_data_mapper-0.4.0 data_mapper_generators/model/templates/new_model_template.erb