lib/inetmgr/iis_object/site.rb in inetmgr-0.6.0 vs lib/inetmgr/iis_object/site.rb in inetmgr-0.7.0
- old
+ new
@@ -1,11 +1,12 @@
require File.join(File.expand_path(File.dirname(__FILE__)), 'site_limit.rb')
require File.join(File.expand_path(File.dirname(__FILE__)), 'site_logfile.rb')
require File.join(File.expand_path(File.dirname(__FILE__)), 'binding_information.rb')
require File.join(File.expand_path(File.dirname(__FILE__)), 'application.rb')
-class Site < IisObject
+module Inetmgr
+ class Site < IisObject
# name
# id
# autoStart getting returns TrueClass from WIN32OLE
@@ -22,6 +23,7 @@
cfg = SiteConfiguration.new name
yield cfg
cfg.apply_changes
end
+end
end