Class: Audrey::Transaction
- Inherits:
-
Object
- Object
- Audrey::Transaction
- Defined in:
- lib/audrey.rb,
lib/audrey.rb
Overview
Audrey::Transaction
Direct Known Subclasses
Instance Method Summary collapse
- #exit ⇒ Object
-
#initialize(db, opts = {}) ⇒ Transaction
constructor
————————————————————————— initialize.
Constructor Details
#initialize(db, opts = {}) ⇒ Transaction
initialize
605 606 607 608 |
# File 'lib/audrey.rb', line 605 def initialize(db, opts={}) # $tm.hrm @db = db end |
Instance Method Details
#exit ⇒ Object
2234 2235 2236 2237 |
# File 'lib/audrey.rb', line 2234 def exit() e = Audrey::Exception::TransactionExit.new(self) raise e end |