lib/inetmgr/iis_configuration.rb in inetmgr-0.4.0 vs lib/inetmgr/iis_configuration.rb in inetmgr-0.5.0
- old
+ new
@@ -3,11 +3,11 @@
require File.join(File.expand_path(File.dirname(__FILE__)), 'iis_object/auto_start_provider.rb')
# Represents the local IIS configuration settings (meta base).
class IisConfiguration < Configuration
- def initialize
- super "MACHINE/WEBROOT/APPHOST"
+ def initialize(server = nil)
+ super "MACHINE/WEBROOT/APPHOST", server
end
def self.configure
cfg = IisConfiguration.new
yield cfg
\ No newline at end of file