about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <kcar-public@bogomips.org>2017-03-05 23:07:25 +0000
committerEric Wong <kcar-public@bogomips.org>2017-03-05 23:07:25 +0000
commit2a2c148310d28ec913b1cc3f277f87ef4bdfb997 (patch)
treeffc9149f599fca831961b4b5ae4dc42ea47f85f6
parent877f64d3b470b9821a28ea75d2962de1a198cc0e (diff)
downloadkcar-2a2c148310d28ec913b1cc3f277f87ef4bdfb997.tar.gz
require_relative reduces the path search which gets more
expensive as more RubyGems are available.
-rw-r--r--lib/kcar.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kcar.rb b/lib/kcar.rb
index 55ac527..1929c21 100644
--- a/lib/kcar.rb
+++ b/lib/kcar.rb
@@ -3,6 +3,6 @@ module Kcar
   autoload :Response, 'kcar/response'
 end
 
-require 'kcar/version'
-require 'kcar/parser'
+require_relative 'kcar/version'
+require_relative 'kcar/parser'
 require 'kcar_ext'