class ANSI::Diff

def self.diff(object1, object2, options={})


ANSI::Diff.new(object1, object2).to_a

This class method is equivalent to calling:

Highlights the differnce between two strings.
def self.diff(object1, object2, options={})
  new(object1, object2, options={}).to_a
end