module ActiveGraph::Shared
Public Class Methods
i18n_scope()
click to toggle source
# File lib/active_graph/shared.rb 28 def self.i18n_scope 29 :neo4j 30 end
inherited(other)
click to toggle source
Calls superclass method
# File lib/active_graph/shared.rb 32 def self.inherited(other) 33 attributes.each_pair do |k, v| 34 other.inherit_property k.to_sym, v.clone, declared_properties[k].options 35 end 36 super 37 end
Public Instance Methods
declared_properties()
click to toggle source
# File lib/active_graph/shared.rb 40 def declared_properties 41 self.class.declared_properties 42 end
neo4j_query(*args)
click to toggle source
# File lib/active_graph/shared.rb 44 def neo4j_query(*args) 45 self.class.neo4j_query(*args) 46 end