Class: Spinoza::ReadResult
- Inherits:
-
Object
- Object
- Spinoza::ReadResult
- Defined in:
- lib/spinoza/system/operation.rb
Overview
Result of executing a read operation on a particular node at a particular time.
Instance Attribute Summary collapse
-
#op ⇒ Object
readonly
Returns the value of attribute op.
-
#val ⇒ Object
readonly
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize(op: nil, val: nil) ⇒ ReadResult
constructor
A new instance of ReadResult.
Constructor Details
#initialize(op: nil, val: nil) ⇒ ReadResult
Returns a new instance of ReadResult.
100 101 102 |
# File 'lib/spinoza/system/operation.rb', line 100 def initialize op: nil, val: nil @op, @val = op, val end |
Instance Attribute Details
#op ⇒ Object (readonly)
Returns the value of attribute op.
99 100 101 |
# File 'lib/spinoza/system/operation.rb', line 99 def op @op end |
#val ⇒ Object (readonly)
Returns the value of attribute val.
99 100 101 |
# File 'lib/spinoza/system/operation.rb', line 99 def val @val end |