Class: Hokusai::UpdatePatch
- Inherits:
-
Object
- Object
- Hokusai::UpdatePatch
- Defined in:
- ui/src/hokusai/diff.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
Returns the value of attribute target.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(target:, value:) ⇒ UpdatePatch
constructor
A new instance of UpdatePatch.
Constructor Details
#initialize(target:, value:) ⇒ UpdatePatch
Returns a new instance of UpdatePatch.
25 26 27 28 |
# File 'ui/src/hokusai/diff.rb', line 25 def initialize(target:, value:) @target = target @value = value end |
Instance Attribute Details
#target ⇒ Object
Returns the value of attribute target.
23 24 25 |
# File 'ui/src/hokusai/diff.rb', line 23 def target @target end |
#value ⇒ Object
Returns the value of attribute value.
23 24 25 |
# File 'ui/src/hokusai/diff.rb', line 23 def value @value end |