class Simulacrum::Diff
Base class for implementing diffing strategies
Attributes
a_path[RW]
b_path[RW]
delta[RW]
image[RW]
Public Class Methods
new(a_path, b_path)
click to toggle source
# File lib/simulacrum/diff.rb, line 7 def initialize(a_path, b_path) @a_path = a_path @b_path = b_path compare end
Public Instance Methods
save(path)
click to toggle source
# File lib/simulacrum/diff.rb, line 14 def save(path) @image.write(path) end