summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-19 10:08:01 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-08-19 10:08:01 -0700
commit55ca83e86fe245e9422b4b7aa27d0e9969bd89e3 (patch)
tree1f4ca9439e7611ff28bc3088c05d8eb5193cfe15
parent719e49d00afc282c2f2d4e0fe20c6e7c39ccc5da (diff)
downloadohai-55ca83e86fe245e9422b4b7aa27d0e9969bd89e3.tar.gz
fix Style/StructInheritance
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/ohai/loader.rb2
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)