aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-01 04:07:04 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-01 04:07:04 +0000
commit0fa127870ca55dda1791f2a28490defc5569702c (patch)
treef061d5dbb7122935db76152501da606eb875aa1d /activesupport/lib/active_support/core_ext/kernel/agnostics.rb
parent420ffb79e317aeb555d38390baf70df32a9b71a2 (diff)
downloadrails-0fa127870ca55dda1791f2a28490defc5569702c.tar.gz
rails-0fa127870ca55dda1791f2a28490defc5569702c.tar.bz2
rails-0fa127870ca55dda1791f2a28490defc5569702c.zip
Have to use inheritance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/kernel/agnostics.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/kernel/agnostics.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/kernel/agnostics.rb b/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
index dff1145408..c0cb4fb427 100644
--- a/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
+++ b/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
@@ -1,4 +1,4 @@
-module Kernel
+class Object
# Makes backticks behave (somewhat more) similarly on all platforms.
# On win32 `nonexistent_command` raises Errno::ENOENT; on Unix, the
# spawned shell prints a message to stderr and sets $?. We emulate