diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:08:01 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:08:01 -0700 |
commit | 55ca83e86fe245e9422b4b7aa27d0e9969bd89e3 (patch) | |
tree | 1f4ca9439e7611ff28bc3088c05d8eb5193cfe15 | |
parent | 719e49d00afc282c2f2d4e0fe20c6e7c39ccc5da (diff) | |
download | ohai-55ca83e86fe245e9422b4b7aa27d0e9969bd89e3.tar.gz |
fix Style/StructInheritance
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/ohai/loader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/loader.rb b/lib/ohai/loader.rb index 72bfb621..0468a6de 100644 --- a/lib/ohai/loader.rb +++ b/lib/ohai/loader.rb @@ -35,7 +35,7 @@ module Ohai # 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. - class PluginFile < Struct.new(:path, :plugin_root) + PluginFile = Struct.new(:path, :plugin_root) do # Finds all the *.rb files under the configured paths in :plugin_path def self.find_all_in(plugin_dir) |