aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/core_ext/hash.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-01-15 17:03:31 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-01-15 17:03:31 +0000
commitf3965af649efa7e975351b2b652911674af31ee6 (patch)
tree0a803c798cfacbd10f1248d2d58fa8a555df3911 /activesupport/lib/core_ext/hash.rb
parenta66b321bb022836709b0a55ba1c4a693beee286a (diff)
downloadrails-f3965af649efa7e975351b2b652911674af31ee6.tar.gz
rails-f3965af649efa7e975351b2b652911674af31ee6.tar.bz2
rails-f3965af649efa7e975351b2b652911674af31ee6.zip
Dont polute the load path more than necessary
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/core_ext/hash.rb')
-rw-r--r--activesupport/lib/core_ext/hash.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/core_ext/hash.rb b/activesupport/lib/core_ext/hash.rb
index 2aa7843e75..94466053ec 100644
--- a/activesupport/lib/core_ext/hash.rb
+++ b/activesupport/lib/core_ext/hash.rb
@@ -1,5 +1,4 @@
-$:.unshift(File.dirname(__FILE__))
-require 'hash/keys'
+require File.dirname(__FILE__) + '/hash/keys'
class Hash
include ActiveSupport::CoreExtensions::Hash::Keys