Sha256: e5f6e490171276a7d39866cf8ad162bfaace38a3d5197be7509a21ac8f6a3da6

Contents?: true

Size: 158 Bytes

Versions: 1

Compression:

Stored size: 158 Bytes

Contents

class <%= model_class_name %>
  include DataMapper::Resource

  <% model_attributes.each do |name,type| -%>
  property :<%=name-%>, <%=type%>
  <% end %>
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merb_datamapper-0.9.3 datamapper_generators/model/templates/app/models/%model_file_name%.rb