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/solr/solr_parser.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/solr/solr_parser.rb')
-rw-r--r-- | lib/chef_zero/solr/solr_parser.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef_zero/solr/solr_parser.rb b/lib/chef_zero/solr/solr_parser.rb index 86c232f..7868fe9 100644 --- a/lib/chef_zero/solr/solr_parser.rb +++ b/lib/chef_zero/solr/solr_parser.rb @@ -1,9 +1,9 @@ -require "chef_zero/solr/query/binary_operator" -require "chef_zero/solr/query/unary_operator" -require "chef_zero/solr/query/term" -require "chef_zero/solr/query/phrase" -require "chef_zero/solr/query/range_query" -require "chef_zero/solr/query/subquery" +require_relative "query/binary_operator" +require_relative "query/unary_operator" +require_relative "query/term" +require_relative "query/phrase" +require_relative "query/range_query" +require_relative "query/subquery" module ChefZero module Solr |