class MotherBrain::FileSystem::Tempfile
Thin wrapper around ::Tempfile to ensure we always write temporary files into motherbrain’s configured temporary directory
Constants
- BASENAME
Public Class Methods
new(options = {})
click to toggle source
@param [Hash] options
options to pass to ::Tempfile.new
Calls superclass method
# File lib/mb/file_system/tempfile.rb, line 20 def initialize(options = {}) super(BASENAME, FileSystem.tmpdir, options) end
open(options = {})
click to toggle source
@param [Hash] options
options to pass to ::Tempfile.open
Calls superclass method
# File lib/mb/file_system/tempfile.rb, line 13 def open(options = {}) super(options) end