Sha256: eb0fa721fd6cf279a399c8b5b74f2554c8200f6c3bae50add15dce920cf4f587
Contents?: true
Size: 462 Bytes
Versions: 13
Compression:
Stored size: 462 Bytes
Contents
class <%= class_name %><%= " < #{options[:parent].classify}" if options[:parent] %> <% unless options[:parent] -%> include Ripple::<%= "Embedded" if options[:embedded] || options[:embedded_in] %>Document <% if options[:embedded_in] -%>embedded_in :<%= options[:embedded_in].underscore %><% end -%> <% end -%> <% attributes.reject{|attr| attr.reference?}.each do |attribute| -%> property :<%= attribute.name %>, <%= attribute.type_class %> <% end -%> end
Version data entries
13 entries across 13 versions & 2 rubygems