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-12.0.0.beta.4 lib/active_graph/node/rels.rb
activegraph-11.5.0.beta.3 lib/active_graph/node/rels.rb
activegraph-12.0.0.beta.3 lib/active_graph/node/rels.rb
activegraph-12.0.0.beta.2 lib/active_graph/node/rels.rb
activegraph-11.5.0.beta.2 lib/active_graph/node/rels.rb
activegraph-12.0.0.beta.1 lib/active_graph/node/rels.rb
activegraph-11.5.0.beta.1 lib/active_graph/node/rels.rb
activegraph-11.5.0.alpha.1 lib/active_graph/node/rels.rb
activegraph-11.4.0 lib/active_graph/node/rels.rb
activegraph-11.3.1 lib/active_graph/node/rels.rb
activegraph-11.3.0 lib/active_graph/node/rels.rb
activegraph-11.2.0 lib/active_graph/node/rels.rb
activegraph-11.1.0 lib/active_graph/node/rels.rb
activegraph-11.1.0.beta.1 lib/active_graph/node/rels.rb
activegraph-11.1.0.alpha.4 lib/active_graph/node/rels.rb
activegraph-11.1.0.alpha.3 lib/active_graph/node/rels.rb
activegraph-11.1.0.alpha.2 lib/active_graph/node/rels.rb
activegraph-11.1.0.alpha.1 lib/active_graph/node/rels.rb
activegraph-10.2.0.beta.1 lib/active_graph/node/rels.rb
activegraph-11.0.2-java lib/active_graph/node/rels.rb