Sha256: a19bfc90b9134614e7c267dff1f73a04a9747b13f321e704ef467cb3e3427ca2
Contents?: true
Size: 326 Bytes
Versions: 2
Compression:
Stored size: 326 Bytes
Contents
# Open template config file and write in current directory to virtual path puts "Replacing %SAMPLE_SERVICE_DIR% with #{Dir.pwd}\\SampleService" File.open("applicationhost.config", "w") {|file| file.puts File.read("applicationhost.config.template").gsub("%SAMPLE_SERVICE_DIR%", "#{Dir.pwd.gsub("\/", "\\")}\\SampleService" ) }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_odata-0.0.10 | test/setpath.rb |
ruby_odata-0.0.9 | test/setpath.rb |