Class: Oplogjam::Operators::Assignment
- Inherits:
-
Object
- Object
- Oplogjam::Operators::Assignment
- Defined in:
- lib/oplogjam/operators/assignment.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(path, value) ⇒ Assignment
constructor
A new instance of Assignment.
Constructor Details
#initialize(path, value) ⇒ Assignment
Returns a new instance of Assignment.
6 7 8 9 |
# File 'lib/oplogjam/operators/assignment.rb', line 6 def initialize(path, value) @path = path @value = value end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/oplogjam/operators/assignment.rb', line 4 def path @path end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/oplogjam/operators/assignment.rb', line 4 def value @value end |