Class: SuperDiff::DiffFormatters::Collection
- Inherits:
-
Object
- Object
- SuperDiff::DiffFormatters::Collection
- 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
#call ⇒ Object
21 22 23 |
# File 'lib/super_diff/diff_formatters/collection.rb', line 21 def call lines.join("\n") end |