inspec/lib/utils/modulator.rb
Dominik Richter 6e4381f2d4 turn backend into a separate object
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-08-12 19:07:01 -07:00

11 lines
147 B
Ruby

# encoding: utf-8
module Modulator
def modules
@modules ||= {}
end
def add_module(name, handler)
modules[name] = handler
end
end