lib/linux_admin.rb in linux_admin-1.2.4 vs lib/linux_admin.rb in linux_admin-2.0.0
- old
+ new
@@ -31,21 +31,13 @@
require 'linux_admin/time_date'
require 'linux_admin/ip_address'
require 'linux_admin/dns'
require 'linux_admin/network_interface'
require 'linux_admin/chrony'
-require 'forwardable'
module LinuxAdmin
class << self
- extend Forwardable
- extend Gem::Deprecate
attr_writer :logger
-
- def_delegators Common, :run
- def_delegators Common, :run!
- deprecate :run, "AwesomeSpawn.run", 2017, 6
- deprecate :run!, "AwesomeSpawn.run!", 2017, 6
end
def self.logger
@logger ||= NullLogger.new
end