Class: Audrey::Transaction

Inherits:
Object
  • Object
show all
Defined in:
lib/audrey.rb,
lib/audrey.rb

Overview

Audrey::Transaction

Direct Known Subclasses

Engine::SQLite3::Transaction

Instance Method Summary collapse

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

#exitObject



2234
2235
2236
2237
# File 'lib/audrey.rb', line 2234

def exit()
	e = Audrey::Exception::TransactionExit.new(self)
	raise e
end