Skip to content

Instantly share code, notes, and snippets.

@matthewd
Created February 25, 2010 13:50
Show Gist options
  • Save matthewd/314549 to your computer and use it in GitHub Desktop.
Save matthewd/314549 to your computer and use it in GitHub Desktop.
From ad920f9466238692614d510e165f94c8bcdec838 Mon Sep 17 00:00:00 2001
From: Matthew Draper <matthew@trebex.net>
Date: Fri, 26 Feb 2010 00:16:35 +1030
Subject: [PATCH] Remove duplicate module_function call in kernel.rb
Cleans up a copy & paste error I introduced two years ago.
---
kernel/common/kernel.rb | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kernel/common/kernel.rb b/kernel/common/kernel.rb
index 60e47cc..8b03dd4 100644
--- a/kernel/common/kernel.rb
+++ b/kernel/common/kernel.rb
@@ -176,7 +176,6 @@ module Kernel
alias_method :format, :sprintf
module_function :sprintf
module_function :format
- module_function :abort
def puts(*a)
$stdout.puts(*a)
--
1.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment