Sha256: e71338b6ced243803167448fcee881a9b4803159d1cf4771814e8df6e847d2c5
Contents?: true
Size: 433 Bytes
Versions: 5
Compression:
Stored size: 433 Bytes
Contents
class <%= class_name %> <%= parent? ? "#{options[:parent].classify}" : "" %> include Neo4j::ActiveNode <% attributes.each do |attribute| -%> property :<%= attribute.name %><%= ", type: #{attribute.type_class}" unless attribute.type_class == 'any' %> <%= index_fragment(attribute.name) %> <% end -%> <%= has_n_statements if has_n? -%> <%= has_one_statements if has_one? -%> <%= timestamp_statements if timestamps? -%> end
Version data entries
5 entries across 5 versions & 1 rubygems