Class: Inspec::SourceReaderRegistry
- Inherits:
-
PluginRegistry
- Object
- PluginRegistry
- Inspec::SourceReaderRegistry
- 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
Instance Method Summary collapse
Methods inherited from PluginRegistry
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 |