snapshot doesn't need to write to tmp subfolder

This commit is contained in:
Anthony Davis 2014-01-06 21:22:54 -06:00
parent 9c8bbe9c20
commit 7e1a6cd565
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
module Snapshot
def set_up_snapshot(filepath = 'tmp/snapshots.html')
SS_PATH = 'snapshots.html'
def set_up_snapshot(filepath = SS_PATH)
@size = [1280, 720] #arbitrary
@file = File.new(filepath, "w+")
@file.puts "<HTML><BODY BGCOLOR=grey>"