Sha256: f330c6c884cf6053e63accbd3205ac473cfe53a1e8d8f1c0e20eccc51a03c2ea
Contents?: true
Size: 288 Bytes
Versions: 56
Compression:
Stored size: 288 Bytes
Contents
# frozen_string_literal: true module Renalware module UsingTempFolder extend ActiveSupport::Concern def in_a_temporary_folder Dir.mktmpdir(nil, Rails.root.join("tmp").to_s) do |dir| yield Pathname(dir) # temp dir removed here end end end end
Version data entries
56 entries across 56 versions & 1 rubygems