Class: Scalaroid::DeleteResult
- Inherits:
-
Object
- Object
- Scalaroid::DeleteResult
- Defined in:
- lib/scalaroid/delete_result.rb
Overview
Stores the result of a delete operation.
Instance Attribute Summary collapse
-
#locks_set ⇒ Object
readonly
Returns the value of attribute locks_set.
-
#ok ⇒ Object
readonly
Returns the value of attribute ok.
-
#undefined ⇒ Object
readonly
Returns the value of attribute undefined.
Instance Method Summary collapse
-
#initialize(ok, locks_set, undefined) ⇒ DeleteResult
constructor
A new instance of DeleteResult.
Constructor Details
#initialize(ok, locks_set, undefined) ⇒ DeleteResult
Returns a new instance of DeleteResult.
7 8 9 10 11 |
# File 'lib/scalaroid/delete_result.rb', line 7 def initialize(ok, locks_set, undefined) @ok = ok @locks_set = locks_set @undefined = undefined end |
Instance Attribute Details
#locks_set ⇒ Object (readonly)
Returns the value of attribute locks_set.
5 6 7 |
# File 'lib/scalaroid/delete_result.rb', line 5 def locks_set @locks_set end |
#ok ⇒ Object (readonly)
Returns the value of attribute ok.
4 5 6 |
# File 'lib/scalaroid/delete_result.rb', line 4 def ok @ok end |
#undefined ⇒ Object (readonly)
Returns the value of attribute undefined.
6 7 8 |
# File 'lib/scalaroid/delete_result.rb', line 6 def undefined @undefined end |