class ImageDiff::PNGSnapshot

Screenshot class

Attributes

master_screenshot_path[R]

Public Instance Methods

compare() click to toggle source
# File lib/image_diff/png_snapshot.rb, line 24
def compare
  write
  ImageDiff.new(self)
end
extension() click to toggle source
# File lib/image_diff/png_snapshot.rb, line 16
def extension
  '.png'
end
write() click to toggle source
# File lib/image_diff/png_snapshot.rb, line 20
def write
  fullpage_screenshot(path_and_filename)
end