summaryrefslogtreecommitdiff
path: root/lib/wmi-lite.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-12-20 16:34:35 -0800
committerTim Smith <tsmith84@gmail.com>2019-12-29 16:25:03 -0800
commit17088a9c92e3eeef3c60e53fbb33a29acfac25b8 (patch)
treee83fcb9a57421aa7c687eee09a85a865f871598a /lib/wmi-lite.rb
parentb36a2da75e211422b87c1b35aa78980c4bb8055a (diff)
downloadwmi-lite-17088a9c92e3eeef3c60e53fbb33a29acfac25b8.tar.gz
Substitute require for require_relative
require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/wmi-lite.rb')
-rw-r--r--lib/wmi-lite.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wmi-lite.rb b/lib/wmi-lite.rb
index 44375b3..2e89165 100644
--- a/lib/wmi-lite.rb
+++ b/lib/wmi-lite.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Edwards (<adamed@chef.io>)
-# Copyright:: Copyright 2014 Chef Software, Inc.
+# Copyright:: Copyright 2014-2019 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,4 +16,4 @@
# limitations under the License.
#
-require "wmi-lite/wmi"
+require_relative 'wmi-lite/wmi'