Module: HTMLDiff

Defined in:
lib/htmldiff.rb,
lib/htmldiff/word.rb,
lib/htmldiff/match.rb,
lib/htmldiff/operation.rb,
lib/htmldiff/diff_builder.rb,
lib/htmldiff/match_finder.rb,
lib/htmldiff/list_of_words.rb

Overview

Main module for namespacing the gem.

Defined Under Namespace

Classes: DiffBuilder, ListOfWords, Match, MatchFinder, Operation, Word

Class Method Summary collapse

Class Method Details

.diff(old, new, options = {}) ⇒ Object



11
12
13
# File 'lib/htmldiff.rb', line 11

def self.diff(old, new, options = {})
  DiffBuilder.new(old, new, options).build
end