diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-08 17:03:26 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-08 17:03:26 -0700 |
commit | bc7687e56763cedbd010cfd566aa2fc0c53bb194 (patch) | |
tree | 3d3e3eec51c847f23dc2955f9d058777bdea9a91 /lib/chef/mixins.rb | |
parent | e793c825c857af87e745a8af479af71522ff20db (diff) | |
download | chef-bc7687e56763cedbd010cfd566aa2fc0c53bb194.tar.gz |
Convert require to require_relative
This gives a speed boost since rubygems does not have to scan through
every gem in the gemset in order to find the file.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/mixins.rb')
-rw-r--r-- | lib/chef/mixins.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/chef/mixins.rb b/lib/chef/mixins.rb index 2306fb9e89..3974328b8e 100644 --- a/lib/chef/mixins.rb +++ b/lib/chef/mixins.rb @@ -1,12 +1,12 @@ -require "chef/mixin/shell_out" -require "chef/mixin/checksum" -require "chef/mixin/convert_to_class_name" -require "chef/mixin/create_path" -require "chef/mixin/deep_merge" -require "chef/mixin/enforce_ownership_and_permissions" -require "chef/mixin/from_file" -require "chef/mixin/params_validate" -require "chef/mixin/path_sanity" -require "chef/mixin/template" -require "chef/mixin/securable" -require "chef/mixin/xml_escape" +require_relative "mixin/shell_out" +require_relative "mixin/checksum" +require_relative "mixin/convert_to_class_name" +require_relative "mixin/create_path" +require_relative "mixin/deep_merge" +require_relative "mixin/enforce_ownership_and_permissions" +require_relative "mixin/from_file" +require_relative "mixin/params_validate" +require_relative "mixin/path_sanity" +require_relative "mixin/template" +require_relative "mixin/securable" +require_relative "mixin/xml_escape" |