Module: RevisionSan::Diff::SimpleHTMLFormatter

Defined in:
lib/revision_san/diff.rb

Defined Under Namespace

Classes: LineDiffHTMLFormatter, WordDiffHTMLFormatter

Class Method Summary collapse

Class Method Details

.diff(from_lines, to_lines) ⇒ Object



51
52
53
# File 'lib/revision_san/diff.rb', line 51

def self.diff(from_lines, to_lines)
  LineDiffHTMLFormatter.new(from_lines, to_lines).output
end