Class: Inspec::SourceReaderRegistry

Inherits:
PluginRegistry show all
Defined in:
lib/inspec/source_reader.rb

Overview

Pre-checking of target resolution. Make sure that SourceReader plugins always receive a fetcher.

Instance Attribute Summary

Attributes inherited from PluginRegistry

#registry

Instance Method Summary collapse

Methods inherited from PluginRegistry

#initialize

Constructor Details

This class inherits a constructor from PluginRegistry

Instance Method Details

#resolve(target) ⇒ Object



11
12
13
14
# File 'lib/inspec/source_reader.rb', line 11

def resolve(target)
  return nil if target.nil?
  super(target)
end