snapshot doesn't need to write to tmp subfolder
This commit is contained in:
parent
9c8bbe9c20
commit
7e1a6cd565
|
|
@ -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>"
|
||||
|
|
|
|||
Loading…
Reference in New Issue