Sha256: c9018057cc7735565d88395d5c3e3da8e45934194801cb7ea3e68a6a4f439c8c
Contents?: true
Size: 461 Bytes
Versions: 4
Compression:
Stored size: 461 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
4 entries across 4 versions & 3 rubygems