Class Ohai::Loader::PluginFile
In: lib/ohai/loader.rb
Parent: Struct.new(:path, :plugin_root)

Simple struct like objects to track the path of a plugin and the root directory of plugins in which we found it. We don‘t care about the relative paths of v7 plugins, but in v6 plugins, dependencies are specified by calling `require_plugin` with a relative path. To manage this, we track the path and root of each file as we discover them so we can feed this into the v6 "dependency solver" as we load them.

Methods

Public Class methods

Finds all the *.rb files under the configured paths in :plugin_path

[Validate]