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



7
8
9
10
11
# File 'lib/inspec/source_reader.rb', line 7

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

  super(target)
end