Sha256: 94d64a16a2b54ccf81dfff5a1daf67dbbfa8da13a8418ebf8642437f09f3a135
Contents?: true
Size: 992 Bytes
Versions: 42
Compression:
Stored size: 992 Bytes
Contents
# encoding: utf-8 # author: Dominik Richter # author: Christoph Hartmann require 'utils/plugin_registry' module Inspec module Plugins class SourceReader < PluginRegistry::Plugin def self.plugin_registry Inspec::SourceReader end # Retrieve this profile's metadata. # # @return [Inspec::Metadata] profile metadata def metadata fail "SourceReader #{self} does not implement `metadata()`. This method is required" end # Retrieve this profile's tests # # @return [Hash] Collection with references pointing to test contents def tests fail "SourceReader #{self} does not implement `tests()`. This method is required" end # Retrieve this profile's libraries # # @return [Hash] Collection with references pointing to library contents def libraries fail "SourceReader #{self} does not implement `libraries()`. This method is required" end end end end
Version data entries
42 entries across 42 versions & 1 rubygems