Class: IRT::Log::InspectHunk

Inherits:
InteractiveHunk show all
Defined in:
lib/irt/hunks.rb

Instance Attribute Summary

Attributes inherited from Hunk

#color, #header

Instance Method Summary collapse

Methods inherited from Hunk

#header_name, #inspect, #last_line_no, #lines_str, #render, #render_header, #render_line

Constructor Details

#initializeInspectHunk

Returns a new instance of InspectHunk.



82
83
84
85
# File 'lib/irt/hunks.rb', line 82

def initialize
  super
  @color = :inspect_color
end

Instance Method Details

#add_line(content, line_no) ⇒ Object



87
88
# File 'lib/irt/hunks.rb', line 87

def add_line(content, line_no)
end