module Neo4j::Shared

Public Class Methods

i18n_scope() click to toggle source
   # File lib/neo4j/shared.rb
40 def self.i18n_scope
41   :neo4j
42 end
inherited(other) click to toggle source
Calls superclass method
   # File lib/neo4j/shared.rb
44 def self.inherited(other)
45   attributes.each_pair do |k, v|
46     other.inherit_property k.to_sym, v.clone, declared_properties[k].options
47   end
48   super
49 end

Public Instance Methods

declared_properties() click to toggle source
   # File lib/neo4j/shared.rb
52 def declared_properties
53   self.class.declared_properties
54 end
neo4j_query(*args) click to toggle source
   # File lib/neo4j/shared.rb
56 def neo4j_query(*args)
57   self.class.neo4j_query(*args)
58 end