Sha256: d7b9849c70b3b2c8eb935023ab19b9f5c634f4242a82d4e71daab8c2075966a2

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 Bytes

Contents

module Neo4j::ActiveNode
  module Rels
    extend Forwardable
    def_delegators :_rels_delegator, :rel?, :rel, :rels, :node, :nodes, :create_rel

    def _rels_delegator
      raise "Can't access relationship on a none persisted node" unless _persisted_node
      _persisted_node
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
neo4j-3.0.0.alpha.6 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.5 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.4 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.3 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.2 lib/neo4j/active_node/rels.rb