Class: DatabaseCleaner::Neo4j::Transaction
- Inherits:
-
Object
- Object
- DatabaseCleaner::Neo4j::Transaction
- Includes:
- Generic::Transaction, Base
- Defined in:
- lib/database_cleaner/neo4j/transaction.rb
Instance Attribute Summary collapse
-
#tx ⇒ Object
Returns the value of attribute tx.
Instance Method Summary collapse
Methods included from Base
Methods included from Generic::Base
Methods included from Generic::Transaction
Instance Attribute Details
#tx ⇒ Object
Returns the value of attribute tx.
11 12 13 |
# File 'lib/database_cleaner/neo4j/transaction.rb', line 11 def tx @tx end |
Instance Method Details
#clean ⇒ Object
19 20 21 |
# File 'lib/database_cleaner/neo4j/transaction.rb', line 19 def clean rollback end |
#start ⇒ Object
13 14 15 16 17 |
# File 'lib/database_cleaner/neo4j/transaction.rb', line 13 def start super rollback self.tx = ::Neo4j::Transaction.new end |