mirror of
https://github.com/inspec/inspec
synced 2024-11-24 05:33:17 +00:00
12 lines
201 B
Ruby
12 lines
201 B
Ruby
# encoding: utf-8
|
|
# author: Dominik Richter
|
|
# author: Christoph Hartmann
|
|
module Modulator
|
|
def modules
|
|
@modules ||= {}
|
|
end
|
|
|
|
def add_module(name, handler)
|
|
modules[name] = handler
|
|
end
|
|
end
|