Class: IRT::Log::InteractiveHunk
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Hunk
Instance Method Summary collapse
-
#initialize ⇒ InteractiveHunk
constructor
A new instance of InteractiveHunk.
Methods inherited from Hunk
#add_line, #header_name, #inspect, #last_line_no, #lines_str, #render, #render_header, #render_line
Constructor Details
#initialize ⇒ InteractiveHunk
Returns a new instance of InteractiveHunk.
72 73 74 75 |
# File 'lib/irt/hunks.rb', line 72 def initialize @color = :interactive_color @header = IRB.CurrentContext.irb_name end |