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