Sha256: 778dac7ab226fbe30a00999403cb9b6bef82c6a5d5bece4908de719463d6655e
Contents?: true
Size: 419 Bytes
Versions: 8
Compression:
Stored size: 419 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' %> <% end -%> <%= indices_statements if indices? -%> <%= has_n_statements if has_n? -%> <%= has_one_statements if has_one? -%> <%= timestamp_statements if timestamps? -%> end
Version data entries
8 entries across 8 versions & 1 rubygems