Skip to content

Commit

Permalink
Dont polute the load path more than necessary
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Jan 15, 2005
1 parent a66b321 commit f3965af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions 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
Expand Down
5 changes: 2 additions & 3 deletions activesupport/lib/core_ext/numeric.rb
@@ -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
Expand Down

0 comments on commit f3965af

Please sign in to comment.