class SugoiWebpageCapture::Screenshot
Attributes
tempfile[R]
Public Class Methods
new(tempfile)
click to toggle source
# File lib/sugoi_webpage_capture/screenshot.rb, line 5 def initialize(tempfile) @tempfile = tempfile end
Public Instance Methods
path()
click to toggle source
# File lib/sugoi_webpage_capture/screenshot.rb, line 13 def path @tempfile.path end
unlink()
click to toggle source
# File lib/sugoi_webpage_capture/screenshot.rb, line 9 def unlink @tempfile.unlink end