inspec/lib/utils/modulator.rb

13 lines
201 B
Ruby
Raw Normal View History

# encoding: utf-8
2015-10-06 16:55:44 +00:00
# author: Dominik Richter
# author: Christoph Hartmann
module Modulator
def modules
@modules ||= {}
end
def add_module(name, handler)
modules[name] = handler
end
end