Class: Inspec::Plugins::SourceReader
- Inherits:
-
PluginRegistry::Plugin
- Object
- PluginRegistry::Plugin
- Inspec::Plugins::SourceReader
- Defined in:
- lib/inspec/plugins/source_reader.rb
Instance Attribute Summary
Attributes inherited from PluginRegistry::Plugin
Class Method Summary collapse
Instance Method Summary collapse
-
#libraries ⇒ Hash
Retrieve this profile’s libraries.
-
#metadata ⇒ Inspec::Metadata
Retrieve this profile’s metadata.
-
#tests ⇒ Hash
Retrieve this profile’s tests.
Methods inherited from PluginRegistry::Plugin
name, priority, resolve, resolve_next
Class Method Details
.plugin_registry ⇒ Object
10 11 12 |
# File 'lib/inspec/plugins/source_reader.rb', line 10 def self.plugin_registry Inspec::SourceReader end |
Instance Method Details
#libraries ⇒ Hash
Retrieve this profile’s libraries
31 32 33 |
# File 'lib/inspec/plugins/source_reader.rb', line 31 def libraries fail "SourceReader #{self} does not implement `libraries()`. This method is required" end |
#metadata ⇒ Inspec::Metadata
Retrieve this profile’s metadata.
17 18 19 |
# File 'lib/inspec/plugins/source_reader.rb', line 17 def fail "SourceReader #{self} does not implement `metadata()`. This method is required" end |
#tests ⇒ Hash
Retrieve this profile’s tests
24 25 26 |
# File 'lib/inspec/plugins/source_reader.rb', line 24 def tests fail "SourceReader #{self} does not implement `tests()`. This method is required" end |