Class: Diff::Display::NonewlineLine

Inherits:
Line
  • Object
show all
Defined in:
lib/diff/display/data_structure.rb

Instance Attribute Summary

Attributes inherited from Line

#new_number, #old_number

Instance Method Summary collapse

Methods inherited from Line

add, #expand_inline_changes_with, header, #identifier, #inline_changes?, #inspect, nonewline, rem, #segments, unmod

Constructor Details

#initialize(line = '\\ No newline at end of file') ⇒ NonewlineLine

Returns a new instance of NonewlineLine.



141
142
143
# File 'lib/diff/display/data_structure.rb', line 141

def initialize(line = '\\ No newline at end of file')
  super(line)
end