Sha256: c125cfd335b29a107d6f4497e2bbfc6c87e25f529689b711b706a1cc71301cce
Contents?: true
Size: 508 Bytes
Versions: 2
Compression:
Stored size: 508 Bytes
Contents
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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inetmgr-0.6.0 | lib/inetmgr/configuration.rb |
inetmgr-0.5.0 | lib/inetmgr/configuration.rb |