Class: WhyClasses::Formatters::DiffFormatter::UnifiedDiff::Op
- Inherits:
-
Struct
- Object
- Struct
- WhyClasses::Formatters::DiffFormatter::UnifiedDiff::Op
- Defined in:
- lib/why_classes/formatters/diff_formatter.rb
Overview
kind: :eq/:del/:add
Instance Attribute Summary collapse
-
#a_line ⇒ Object
Returns the value of attribute a_line.
-
#b_line ⇒ Object
Returns the value of attribute b_line.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#a_line ⇒ Object
Returns the value of attribute a_line
25 26 27 |
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25 def a_line @a_line end |
#b_line ⇒ Object
Returns the value of attribute b_line
25 26 27 |
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25 def b_line @b_line end |
#kind ⇒ Object
Returns the value of attribute kind
25 26 27 |
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25 def kind @kind end |
#text ⇒ Object
Returns the value of attribute text
25 26 27 |
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25 def text @text end |