class JasmineFixtureBuilder::PathInstaller

Public Class Methods

install(root_path) click to toggle source
# File lib/jasmine_fixture_builder/path_installer.rb, line 3
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