Class: Sketches::TempSketch

Inherits:
Tempfile
  • Object
show all
Defined in:
lib/sketches/temp_sketch.rb

Constant Summary collapse

BASENAME =

Basename to use for temp sketches

'sketch'
EXT =

Extension to use for temp sketches

'.rb'

Class Method Summary collapse

Class Method Details

.open(&block) ⇒ Object

Create a new TempSketch object.



39
40
41
# File 'lib/sketches/temp_sketch.rb', line 39

def self.open(&block)
  super(BASENAME, Config.tmpdir, &block)
end