Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Dont polute the load path more than necessary

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit f3965af649efa7e975351b2b652911674af31ee6 1 parent a66b321
David Heinemeier Hansson dhh authored
3  activesupport/lib/core_ext/hash.rb
View
@@ -1,5 +1,4 @@
-$:.unshift(File.dirname(__FILE__))
-require 'hash/keys'
+require File.dirname(__FILE__) + '/hash/keys'
class Hash
include ActiveSupport::CoreExtensions::Hash::Keys
5 activesupport/lib/core_ext/numeric.rb
View
@@ -1,6 +1,5 @@
-$:.unshift(File.dirname(__FILE__))
-require 'numeric/time'
-require 'numeric/bytes'
+require File.dirname(__FILE__) + '/numeric/time'
+require File.dirname(__FILE__) + '/numeric/bytes'
class Numeric
include ActiveSupport::CoreExtensions::Numeric::Time
Please sign in to comment.
Something went wrong with that request. Please try again.