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
7 8 9 10 11 |
# File 'lib/inspec/source_reader.rb', line 7 def resolve(target) return nil if target.nil? super(target) end |