class WhirledPeas::Device::OutputFile
Attributes
file[R]
Public Class Methods
new(file)
click to toggle source
# File lib/whirled_peas/device/output_file.rb, line 6 def initialize(file) @file = file end
Public Instance Methods
handle_rendered_frames(rendered_frames)
click to toggle source
# File lib/whirled_peas/device/output_file.rb, line 10 def handle_rendered_frames(rendered_frames) Utils::FileHandler.write(file, rendered_frames) end