class RubyDiff::BasicDiffer

Public Instance Methods

diff(a,b) click to toggle source
# File lib/rubydiff/kernel.rb, line 117
def diff(a,b)
        diffs = Diffs.new
        diffs.add(Diff.new(:not_the_same,"#{a} vs #{b}")) unless a.eql?(b)
        diffs
end