Sha256: a50b51a9c3cc03d4fe9ad37039f8c15203ea8e4d144e872805b63f3bf8966bf7

Contents?: true

Size: 295 Bytes

Versions: 42

Compression:

Stored size: 295 Bytes

Contents

module ActiveGraph::Node
  module Rels
    extend Forwardable
    def_delegators :_rels_delegator, :rel?, :rel, :rels, :node, :nodes, :create_rel

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

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
activegraph-10.0.0.pre.beta.2 lib/active_graph/node/rels.rb
activegraph-10.0.0.pre.beta.1 lib/active_graph/node/rels.rb