Class: Oinky::DB::Savepoint

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db, value) ⇒ Savepoint

Returns a new instance of Savepoint.



1176
1177
1178
# File 'lib/oinky.rb', line 1176

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

Instance Attribute Details

#dbObject (readonly)

Returns the value of attribute db.



1175
1176
1177
# File 'lib/oinky.rb', line 1175

def db
  @db
end

#valueObject (readonly)

Returns the value of attribute value.



1175
1176
1177
# File 'lib/oinky.rb', line 1175

def value
  @value
end