Module: Modulator

Defined in:
lib/inspec/utils/modulator.rb

Instance Method Summary collapse

Instance Method Details

#add_module(name, handler) ⇒ Object



6
7
8
# File 'lib/inspec/utils/modulator.rb', line 6

def add_module(name, handler)
  modules[name] = handler
end

#modulesObject



2
3
4
# File 'lib/inspec/utils/modulator.rb', line 2

def modules
  @modules ||= {}
end