diff options
author | Sam Stephenson <sam@37signals.com> | 2005-11-07 02:26:20 +0000 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2005-11-07 02:26:20 +0000 |
commit | 5feb3124d431b69e9c4921857289593a655f2e86 (patch) | |
tree | af812fbd5cc66e1abfe8da2f0ebb12513404bb82 /activesupport | |
parent | 24064910d05d801eb77c5170aca2bbc2b3d11ccf (diff) | |
download | rails-5feb3124d431b69e9c4921857289593a655f2e86.tar.gz rails-5feb3124d431b69e9c4921857289593a655f2e86.tar.bz2 rails-5feb3124d431b69e9c4921857289593a655f2e86.zip |
Define kernel.rb methods in "class Object" instead of "module Kernel" to work around a Windows peculiarity
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/CHANGELOG | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/core_ext/kernel.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index 2fc164b65e..428c131c7e 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Define kernel.rb methods in "class Object" instead of "module Kernel" to work around a Windows peculiarity [Sam Stephenson] + * Fix broken tests caused by incomplete loading of active support. [Nicholas Seckar] * Fix status pluralization bug so status_codes doesn't get pluralized as statuses_code. #2758 [keithm@infused.org] diff --git a/activesupport/lib/active_support/core_ext/kernel.rb b/activesupport/lib/active_support/core_ext/kernel.rb index 310bba0904..b687af03f6 100644 --- a/activesupport/lib/active_support/core_ext/kernel.rb +++ b/activesupport/lib/active_support/core_ext/kernel.rb @@ -1,4 +1,4 @@ -module Kernel +class Object # A Ruby-ized realization of the K combinator, courtesy of Mikael Brockman. # # def foo |