Sha256: 6662c7675b7413ef2ba00125e9fc62657525b8b66d2e09a791514efd99f95e87

Contents?: true

Size: 298 Bytes

Versions: 3

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 non persisted node" unless _persisted_node
      _persisted_node
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
neo4j-3.0.0.alpha.9 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.8 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.7 lib/neo4j/active_node/rels.rb