lib/neo4j/transaction.rb in neo4j-1.0.0.beta.17 vs lib/neo4j/transaction.rb in neo4j-1.0.0.beta.18
- old
+ new
@@ -13,10 +13,9 @@
# Example:
# tx = Neo4j::Transaction.new
# # modify something
# tx.success
# tx.finish
-
def self.new(instance = Neo4j.started_db)
instance.begin_tx
end
# Runs a block in a Neo4j transaction
\ No newline at end of file