Class: HunkReviewChanges::Diff::Row
- Inherits:
-
Struct
- Object
- Struct
- HunkReviewChanges::Diff::Row
- Defined in:
- lib/hunk_review_changes/diff.rb
Overview
A single rendered diff line. :html is filled in lazily: word-diff for paired modifications, Rouge highlighting for everything else.
Instance Attribute Summary collapse
-
#html ⇒ Object
Returns the value of attribute html.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#new_ln ⇒ Object
Returns the value of attribute new_ln.
-
#old_ln ⇒ Object
Returns the value of attribute old_ln.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#html ⇒ Object
Returns the value of attribute html
38 39 40 |
# File 'lib/hunk_review_changes/diff.rb', line 38 def html @html end |
#kind ⇒ Object
Returns the value of attribute kind
38 39 40 |
# File 'lib/hunk_review_changes/diff.rb', line 38 def kind @kind end |
#new_ln ⇒ Object
Returns the value of attribute new_ln
38 39 40 |
# File 'lib/hunk_review_changes/diff.rb', line 38 def new_ln @new_ln end |
#old_ln ⇒ Object
Returns the value of attribute old_ln
38 39 40 |
# File 'lib/hunk_review_changes/diff.rb', line 38 def old_ln @old_ln end |
#text ⇒ Object
Returns the value of attribute text
38 39 40 |
# File 'lib/hunk_review_changes/diff.rb', line 38 def text @text end |