Sha256: 53a8ef7433684dfb911c423dfdf66806bd72bc15db641c88edd67ea21be2ccbb
Contents?: true
Size: 500 Bytes
Versions: 8
Compression:
Stored size: 500 Bytes
Contents
require 'iis_object' module IISConfig class VirtualDirectory < IISObject def name(name) @name = name @app_pool = nil end def path(path) @path = path end def physical_path(path) @physical_path = path end def build_commands(application) commands = [] commands << %W{ADD VDIR /app.name:#{application} /path:#{@path} /physicalPath:#{@physical_path.gsub(/\//, '\\')}} commands end end end
Version data entries
8 entries across 8 versions & 1 rubygems