README

Path: README
Last Update: Thu Dec 22 16:05:37 +0000 2016

class Stuff

  class << self
    include HTMLDiff
  end

  # or extend HTMLDiff ?

end

Stuff.diff(‘a word is here’, ‘a nother word is there’)

# => ‘a<ins class=\"diffins\"> nother</ins> word is <del class=\"diffmod\">here</del><ins class=\"diffmod\">there</ins>’

Checkout the crappy specs for good examples.

[Validate]