Class Sketches::TempSketch
In: lib/sketches/temp_sketch.rb
Parent: Tempfile
StandardError UnknownSketch RuntimeError EditorNotDefined Tempfile TempSketch Hash Cache Sketch Config Sketches dot/f_1.png

Methods

open  

Constants

BASENAME = 'sketch'   Basename to use for temp sketches
EXT = '.rb'   Extension to use for temp sketches

Public Class methods

Create a new TempSketch object.

[Source]

# File lib/sketches/temp_sketch.rb, line 39
    def self.open(&block)
      super(BASENAME, Config.tmpdir, &block)
    end

[Validate]