Sha256: 5774ae07a7689758e4c901848dd9b8a1337297b749fb34042b3d6d1fe958b4f5

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

module AssMaintainer
  module InfoBases
    module Support
      module TmpPath
        require 'tempfile'
        # Generates temporary path's string
        # @return [String]
        def tmp_path(ext)
          tf = Tempfile.new(ext)
          tf.unlink
          tf.to_path
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ass_maintainer-info_bases-1.0.2 lib/ass_maintainer/info_bases/support.rb
ass_maintainer-info_bases-1.0.1 lib/ass_maintainer/info_bases/support.rb