Sha256: 6965d75f9d5299b954cb718a9b296dbe265b97ce2288c61e97a32efce4336109
Contents?: true
Size: 639 Bytes
Versions: 10
Compression:
Stored size: 639 Bytes
Contents
module Neo4j::Mapping module ClassMethods module Root #attr_reader :_decl_rels, :_decl_props def root_class(clazz) @@_all_decl_rels ||= {} @@_all_decl_props ||= {} @@_all_decl_rels[clazz] ||= {} @@_all_decl_props[clazz] ||= {} @_decl_rels = @@_all_decl_rels[clazz] @_decl_props = @@_all_decl_props[clazz] end def _decl_rels @@_all_decl_rels[self] ||= {} @_decl_props = @@_all_decl_rels[self] end def _decl_props @@_all_decl_props[self] ||= {} @_decl_props = @@_all_decl_props[self] end end end end
Version data entries
10 entries across 10 versions & 1 rubygems