Class: Hokusai::UpdatePatch

Inherits:
Object
  • Object
show all
Defined in:
ui/src/hokusai/diff.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#targetObject

Returns the value of attribute target.



23
24
25
# File 'ui/src/hokusai/diff.rb', line 23

def target
  @target
end

#valueObject

Returns the value of attribute value.



23
24
25
# File 'ui/src/hokusai/diff.rb', line 23

def value
  @value
end