diff options
author | Tim Smith <tsmith84@gmail.com> | 2019-12-20 15:16:38 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2019-12-20 15:16:38 -0800 |
commit | 74b9673be117f505f4905c285f8bfc106302748b (patch) | |
tree | dad1dbd24c84b3bc8ec6e5df0696248b798cdb3b /lib/chef_zero/rest_base.rb | |
parent | 0778c7c2629e519b02842123fdbaa766911b79cd (diff) | |
download | chef-zero-relative.tar.gz |
Substitute require for require_relativerelative
require_relative is significantly faster and should be used when available.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef_zero/rest_base.rb')
-rw-r--r-- | lib/chef_zero/rest_base.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb index 4cf73ba..c7a6fc5 100644 --- a/lib/chef_zero/rest_base.rb +++ b/lib/chef_zero/rest_base.rb @@ -1,7 +1,7 @@ -require "chef_zero/rest_request" -require "chef_zero/rest_error_response" -require "chef_zero/data_store/data_not_found_error" -require "chef_zero/chef_data/acl_path" +require_relative "rest_request" +require_relative "rest_error_response" +require_relative "data_store/data_not_found_error" +require_relative "chef_data/acl_path" module ChefZero class RestBase |