mirror of
https://github.com/inspec/inspec
synced 2024-11-27 23:20:33 +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
|