lib/linux_admin.rb in linux_admin-0.11.1 vs lib/linux_admin.rb in linux_admin-0.12.0
- old
+ new
@@ -28,16 +28,19 @@
require 'linux_admin/physical_volume'
require 'linux_admin/volume_group'
require 'linux_admin/scap'
require 'linux_admin/time_date'
require 'linux_admin/ip_address'
+require 'linux_admin/dns'
+require 'linux_admin/network_interface'
module LinuxAdmin
extend Common
- extend self
- attr_writer :logger
+ class << self
+ attr_writer :logger
+ end
- def logger
+ def self.logger
@logger ||= NullLogger.new
end
end