Class: IRT::Log::InteractiveHunk

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

Direct Known Subclasses

BindingHunk, InspectHunk

Instance Attribute Summary

Attributes inherited from Hunk

#color, #header

Instance Method Summary collapse

Methods inherited from Hunk

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

Constructor Details

#initializeInteractiveHunk

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