Sha256: d4e95f7539e145edc0abc3d45c154575c6f0770a85cd63b4667fa37baa94847c

Contents?: true

Size: 232 Bytes

Versions: 14

Compression:

Stored size: 232 Bytes

Contents

class EroGetter::Utils
  class << self
    def mkdir(path)
      unless File.exists?(path)
        basedir = File.dirname(path)
        mkdir(basedir) unless File.exists?(basedir)
        Dir.mkdir(path)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ero_getter-1.3.8 lib/ero_getter/utils.rb
ero_getter-1.3.7 lib/ero_getter/utils.rb
ero_getter-1.3.6 lib/ero_getter/utils.rb
ero_getter-1.3.5 lib/ero_getter/utils.rb
ero_getter-1.3.4 lib/ero_getter/utils.rb
ero_getter-1.3.3 lib/ero_getter/utils.rb
ero_getter-1.3.2 lib/ero_getter/utils.rb
ero_getter-1.3.1 lib/ero_getter/utils.rb
ero_getter-1.3.0 lib/ero_getter/utils.rb
ero_getter-1.2.0 lib/ero_getter/utils.rb
ero_getter-1.1.2 lib/ero_getter/utils.rb
ero_getter-1.1.1 lib/ero_getter/utils.rb
ero_getter-1.1.0 lib/ero_getter/utils.rb
ero_getter-1.0.0 lib/ero_getter/utils.rb