Class: Diff::Display::NonewlineLine
- Defined in:
- lib/diff/display/data_structure.rb
Instance Attribute Summary
Attributes inherited from Line
Instance Method Summary collapse
-
#initialize(line = '\\ No newline at end of file') ⇒ NonewlineLine
constructor
A new instance of NonewlineLine.
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 |