Sha256: 11c4ad144f4d0fe1ae4d2f9eb201311c8a5a25945b116b4d6ca5b8eec85fc74a

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

module JasmineFixtureBuilder
  class PathInstaller
    def self.install(root_path)
      JAZZ_FIX_PATHS.values.each do |jazz_fix_path|
        install_path = root_path.join(jazz_fix_path)
        unless Dir.exists?(install_path)
          FileUtils.mkdir_p(install_path)
          File.new(install_path.to_s + "/.keep", "w")
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jasmine_fixture_builder-0.1.0 lib/jasmine_fixture_builder/path_installer.rb