lib/polterheist/screenshot.rb in polterheist-0.0.2 vs lib/polterheist/screenshot.rb in polterheist-0.0.3

- old
+ new

@@ -1,8 +1,9 @@ module Polterheist module Screenshot def self.included(base) require 'launchy' + require 'fileutils' end def ss path = '/tmp/screenshot.png' FileUtils.rm(path) if File.exists?(path)