Module: ActiveGraph::Node::Rels

Extended by:
Forwardable
Included in:
ActiveGraph::Node
Defined in:
lib/active_graph/node/rels.rb

Instance Method Summary collapse

Instance Method Details

#_rels_delegatorObject


6
7
8
9
# File 'lib/active_graph/node/rels.rb', line 6

def _rels_delegator
  fail "Can't access relationship on a non persisted node" unless _persisted_obj
  _persisted_obj
end