Sha256: 1f7efe706b35cab332da1d7b9ddc7c70d9b94e684b24db59c9ec3a510ca36ed3
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 Bytes
Contents
<%- module_namespacing do -%> <%- if parent_class_name.present? -%> class <%= class_name %> < <%= parent_class_name.classify %> <%- else -%> class <%= class_name %> include MarkMapper::Document <%- end -%> <%- attributes.each do |attribute| -%> key :<%= attribute.name %>, <%= attribute.type.to_s.camelcase %> <% end -%> <%- if options[:timestamps] -%> timestamps! <%- end -%> end <%- end -%>
Version data entries
6 entries across 6 versions & 1 rubygems