Class: WhyClasses::Formatters::DiffFormatter::UnifiedDiff::Op

Inherits:
Struct
  • Object
show all
Defined in:
lib/why_classes/formatters/diff_formatter.rb

Overview

kind: :eq/:del/:add

Instance Attribute Summary collapse

Instance Attribute Details

#a_lineObject

Returns the value of attribute a_line

Returns:

  • (Object)

    the current value of a_line



25
26
27
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25

def a_line
  @a_line
end

#b_lineObject

Returns the value of attribute b_line

Returns:

  • (Object)

    the current value of b_line



25
26
27
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25

def b_line
  @b_line
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



25
26
27
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25

def kind
  @kind
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



25
26
27
# File 'lib/why_classes/formatters/diff_formatter.rb', line 25

def text
  @text
end