Sha256: f0f9cbd12df330dd034493fc89f3054c86111f0ae0ca03911526bc6db593e088

Contents?: true

Size: 290 Bytes

Versions: 128

Compression:

Stored size: 290 Bytes

Contents

module Picky

  module Backends

    module Helpers

      # Common file helpers.
      #
      module File

        # Creates all necessary directories.
        #
        def create_directory path
          FileUtils.mkdir_p ::File.dirname(path)
        end

      end

    end

  end

end

Version data entries

128 entries across 128 versions & 1 rubygems

Version Path
picky-3.6.8 lib/picky/backends/helpers/file.rb
picky-3.6.7 lib/picky/backends/helpers/file.rb
picky-3.6.6 lib/picky/backends/helpers/file.rb
picky-3.6.4 lib/picky/backends/helpers/file.rb
picky-3.6.3 lib/picky/backends/helpers/file.rb
picky-3.6.2 lib/picky/backends/helpers/file.rb
picky-3.6.1 lib/picky/backends/helpers/file.rb
picky-3.6.0 lib/picky/backends/helpers/file.rb