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-4.31.3 lib/picky/backends/helpers/file.rb
picky-4.31.2 lib/picky/backends/helpers/file.rb
picky-4.31.1 lib/picky/backends/helpers/file.rb
picky-4.31.0 lib/picky/backends/helpers/file.rb
picky-4.30.0 lib/picky/backends/helpers/file.rb
picky-4.29.0 lib/picky/backends/helpers/file.rb
picky-4.28.1 lib/picky/backends/helpers/file.rb
picky-4.27.1 lib/picky/backends/helpers/file.rb
picky-4.27.0 lib/picky/backends/helpers/file.rb
picky-4.26.2 lib/picky/backends/helpers/file.rb
picky-4.26.1 lib/picky/backends/helpers/file.rb
picky-4.26.0 lib/picky/backends/helpers/file.rb
picky-4.25.3 lib/picky/backends/helpers/file.rb
picky-4.25.2 lib/picky/backends/helpers/file.rb
picky-4.25.1 lib/picky/backends/helpers/file.rb
picky-4.25.0 lib/picky/backends/helpers/file.rb
picky-4.24.0 lib/picky/backends/helpers/file.rb
picky-4.23.2 lib/picky/backends/helpers/file.rb
picky-4.23.1 lib/picky/backends/helpers/file.rb
picky-4.23.0 lib/picky/backends/helpers/file.rb