Sha256: 0b4cf0ed95d38322b449a187a9f5bf1d16652d8136de71fd86a8073bbc525553
Contents?: true
Size: 416 Bytes
Versions: 12
Compression:
Stored size: 416 Bytes
Contents
class <%= class_name %> < <%= parent? ? options[:parent].classify : "Neo4j::Rails::Model" %> <% 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
12 entries across 12 versions & 1 rubygems