From 0fa127870ca55dda1791f2a28490defc5569702c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 1 Mar 2006 04:07:04 +0000 Subject: Have to use inheritance git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/core_ext/kernel/agnostics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') 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 -- cgit v1.2.3