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.15.0 lib/picky/backends/helpers/file.rb
picky-4.14.0 lib/picky/backends/helpers/file.rb
picky-4.13.1 lib/picky/backends/helpers/file.rb
picky-4.13.0 lib/picky/backends/helpers/file.rb
picky-4.12.13 lib/picky/backends/helpers/file.rb
picky-4.12.12 lib/picky/backends/helpers/file.rb
picky-4.12.11 lib/picky/backends/helpers/file.rb
picky-4.12.10 lib/picky/backends/helpers/file.rb
picky-4.12.8 lib/picky/backends/helpers/file.rb
picky-4.12.7 lib/picky/backends/helpers/file.rb
picky-4.12.6 lib/picky/backends/helpers/file.rb
picky-4.12.5 lib/picky/backends/helpers/file.rb
picky-4.12.4 lib/picky/backends/helpers/file.rb
picky-4.12.3 lib/picky/backends/helpers/file.rb
picky-4.12.2 lib/picky/backends/helpers/file.rb
picky-4.12.1 lib/picky/backends/helpers/file.rb
picky-4.12.0 lib/picky/backends/helpers/file.rb
picky-4.11.3 lib/picky/backends/helpers/file.rb
picky-4.11.2 lib/picky/backends/helpers/file.rb
picky-4.11.1 lib/picky/backends/helpers/file.rb