Initialize¶
Constants¶
Methods¶
- #called_by
Returns the value of attribute called_by
def called_by @called_by end
- #init_on_load
called when loading the node from the database
def init_on_load(persisted_node, properties) self.class.extract_association_attributes!(properties) @_persisted_obj = persisted_node changed_attributes && changed_attributes.clear @attributes = convert_and_assign_attributes(properties) end
#init_on_reload
def init_on_reload(reloaded) @attributes = nil init_on_load(reloaded, reloaded.props) end
- #wrapper
Implements the Neo4j::Node#wrapper and Neo4j::Relationship#wrapper method so that we don’t have to care if the node is wrapped or not.
def wrapper self end