Class: RevisionSan::Diff::SimpleHTMLFormatter::WordDiffHTMLFormatter
- Inherits:
-
LineDiffHTMLFormatter
- Object
- LineDiffHTMLFormatter
- RevisionSan::Diff::SimpleHTMLFormatter::WordDiffHTMLFormatter
- Defined in:
- lib/revision_san/diff.rb
Instance Method Summary collapse
Methods inherited from LineDiffHTMLFormatter
#discard_b, #initialize, #match
Constructor Details
This class inherits a constructor from RevisionSan::Diff::SimpleHTMLFormatter::LineDiffHTMLFormatter
Instance Method Details
#discard_a(change) ⇒ Object
95 96 97 |
# File 'lib/revision_san/diff.rb', line 95 def discard_a(change) @output << "<del>#{change.old_element}</del>" end |
#output ⇒ Object
91 92 93 |
# File 'lib/revision_san/diff.rb', line 91 def output @output.join end |