Sha256: 0ccdec4927c4d7ff077cbcbc67bcf8a3e224ba31fbc368c5b8493dee15604a44

Contents?: true

Size: 213 Bytes

Versions: 6

Compression:

Stored size: 213 Bytes

Contents

# 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inspec-2.1.81 lib/utils/modulator.rb
inspec-2.1.21 lib/utils/modulator.rb
inspec-2.1.10 lib/utils/modulator.rb
inspec-2.0.32 lib/utils/modulator.rb
inspec-2.0.17 lib/utils/modulator.rb
inspec-1.51.15 lib/utils/modulator.rb