Class: JsonDiff::IndexMap

Inherits:
Object
  • Object
show all
Defined in:
lib/json-diff/index-map.rb

Direct Known Subclasses

AdditionIndexMap, RemovalIndexMap

Instance Method Summary collapse

Constructor Details

#initialize(pivot) ⇒ IndexMap

Returns a new instance of IndexMap.



25
26
27
# File 'lib/json-diff/index-map.rb', line 25

def initialize(pivot)
  @pivot = pivot
end