mirror of
https://github.com/inspec/inspec
synced 2024-11-14 00:47:10 +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
|