Class: SuperDiff::DiffFormatters::Collection

Inherits:
Object
  • Object
show all
Defined in:
lib/super_diff/diff_formatters/collection.rb

Constant Summary collapse

ICONS =
{ delete: "-", insert: "+" }.freeze
STYLES =
{ insert: :actual, delete: :expected, noop: :plain }.freeze

Instance Method Summary collapse

Instance Method Details

#callObject



21
22
23
# File 'lib/super_diff/diff_formatters/collection.rb', line 21

def call
  lines.join("\n")
end