Sha256: b4b21e699daaf41208153f29ab8d70ac7aede609001f129a27322bb5e8c31d7b

Contents?: true

Size: 296 Bytes

Versions: 15

Compression:

Stored size: 296 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_obj
      _persisted_obj
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
neo4j-4.0.0 lib/neo4j/active_node/rels.rb
neo4j-4.0.0.rc.4 lib/neo4j/active_node/rels.rb
neo4j-4.0.0.rc.3 lib/neo4j/active_node/rels.rb
neo4j-4.0.0.rc.1 lib/neo4j/active_node/rels.rb
neo4j-3.0.4 lib/neo4j/active_node/rels.rb
neo4j-3.0.3 lib/neo4j/active_node/rels.rb
neo4j-3.0.2 lib/neo4j/active_node/rels.rb
neo4j-3.0.1 lib/neo4j/active_node/rels.rb
neo4j-3.0.0 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.rc.5 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.rc.4 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.rc.3 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.rc.2 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.11 lib/neo4j/active_node/rels.rb
neo4j-3.0.0.alpha.10 lib/neo4j/active_node/rels.rb