Method: Inspec::PluginCtl#load
- Defined in:
- lib/inspec/plugins.rb
#load(name) ⇒ Object
51 52 53 54 55 56 57 58 |
# File 'lib/inspec/plugins.rb', line 51 def load(name) path = @registry[name] if path.nil? raise "Couldn't find plugin #{name}. Searching in #{@home}" end # puts "Loading plugin #{name} from #{path}" require path end |