Method: Snapshot::ScreenshotFlatten#run

Defined in:
snapshot/lib/snapshot/screenshot_flatten.rb

#run(path) ⇒ Object

Parameters:

  • The (String)

    path in which the screenshots are located in



7
8
9
10
# File 'snapshot/lib/snapshot/screenshot_flatten.rb', line 7

def run(path)
  UI.message("Removing the alpha channel from generated png files")
  flatten(path)
end