Sha256: 6d432692da19e5f7fa310fc5cf1de3deabacfbd3155619be4da72f7961bf6026
Contents?: true
Size: 549 Bytes
Versions: 1
Compression:
Stored size: 549 Bytes
Contents
module Inetmgr class Configuration def initialize(path, server = nil) @admin_manager = WIN32OLE.new "Microsoft.ApplicationHost.WritableAdminManager", server @admin_manager.CommitPath = path; end # applies/commits all changes made since the creation of the # IisConfiguration instance or the last time this method was called. def apply_changes @admin_manager.CommitChanges end private def get_admin_section(section_name) @admin_manager.GetAdminSection(section_name, @admin_manager.CommitPath) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inetmgr-0.7.0 | lib/inetmgr/configuration.rb |