mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
48e2188047
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
9 lines
275 B
Ruby
9 lines
275 B
Ruby
require 'utils/deprecation/deprecator'
|
|
|
|
module Inspec
|
|
def self.deprecate(group, msg, opts = {})
|
|
config_io = opts.delete(:config_io)
|
|
deprecator = Inspec::Deprecation::Deprecator.new(config_io: config_io)
|
|
deprecator.handle_deprecation(group, msg, opts)
|
|
end
|
|
end
|