Sha256: 0b48818d61dcb2e76458c3cf49c9ee55eb33af8806296b7045f456d50bc444fc
Contents?: true
Size: 253 Bytes
Versions: 1
Compression:
Stored size: 253 Bytes
Contents
class <%= goal.cs -%> include DataMapper::Resource property :id, Serial <%= goal.fields.map { |k, v | DmModel.property_string(k,v) }.join("\n") %> <% goal.associations.each do |k, v| -%> <%= DmModel.association_string(k, v) -%> <% end -%> end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mattknox-goaloc-0.4.7 | lib/goaloc/generators/templates/datamapper_model.rb.erb |