Class: Oinky::DB::Savepoint
- Inherits:
-
Object
- Object
- Oinky::DB::Savepoint
- Defined in:
- lib/oinky.rb
Instance Attribute Summary collapse
-
#db ⇒ Object
readonly
Returns the value of attribute db.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(db, value) ⇒ Savepoint
constructor
A new instance of Savepoint.
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
#db ⇒ Object (readonly)
Returns the value of attribute db.
1175 1176 1177 |
# File 'lib/oinky.rb', line 1175 def db @db end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
1175 1176 1177 |
# File 'lib/oinky.rb', line 1175 def value @value end |