lib/heathen/job.rb
# Returns a path to the content stored on disk. This is needed by those conversion
# steps which work only on files, rather than content in memory. The first time this
# method is called, for a given step, a temporary file is created and the content is
# written to it. This will persist until the content is changed.
Returns a path to the content stored on disk. This is needed by those conversion
steps which work only on files, rather than content in memory. The first time this
method is called, for a given step, a temporary file is created and the content is
written to it. This will persist until the content is changed.
Returns a path to the content stored on disk . This is needed by those conversion steps which work only on files rather than content in memory . The first time this method is called for a given step a temporary file is created and the content is written to it . This will persist until the content is changed .
def content_file suffix=''
      @tempfile ||= begin
        t = Tempfile.new ["heathen",suffix], @sandbox_dir
        t.binmode
        t.write @content
        t.close
        t
      end
      @tempfile.path
    end
def content_file suffix = '' @tempfile ||= begin t = Tempfile . new [ "heathen" , suffix ] , @sandbox_dir t . binmode t . write @content t . close t end @tempfile . path end
Returns a path to the content stored on disk.
Returns a path to the content stored on disk .
suffix
<not_specific>