Class: SuperDiff::OperationSequences::Hash

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

Instance Method Summary collapse

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/hash.rb', line 4

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