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