Class: SuperDiff::OperationSequences::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/super_diff/operation_sequences/array.rb

Instance Method Summary collapse

Methods inherited from Base

#pretty_print

Instance Method Details

#to_diff(indent_level:, collection_prefix:, add_comma:) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/super_diff/operation_sequences/array.rb', line 4

def to_diff(indent_level:, collection_prefix:, add_comma:)
  DiffFormatters::Array.call(
    self,
    indent_level: indent_level,
    collection_prefix: collection_prefix,
    add_comma: add_comma,
  )
end