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.



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

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

Instance Method Details

#[](key) ⇒ Object



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

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