Class: Neo4j::Server::CypherNodeUncommited

Inherits:
Object
  • Object
show all
Defined in:
lib/neo4j-server/cypher_node_uncommited.rb

Instance Method Summary collapse

Constructor Details

#initialize(db, data) ⇒ CypherNodeUncommited

Returns a new instance of CypherNodeUncommited.



4
5
6
7
# File 'lib/neo4j-server/cypher_node_uncommited.rb', line 4

def initialize(db, data)
  @db = db
  @data = data
end

Instance Method Details

#[](key) ⇒ Object



9
10
11
# File 'lib/neo4j-server/cypher_node_uncommited.rb', line 9

def [](key)
  @data[key]
end