summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
authorcremno <[email protected]>2015-08-17 20:51:25 +0200
committercremno <[email protected]>2015-08-17 20:51:25 +0200
commiteec00ccf6074cfe5d5b7357180b58282d0dd8c66 (patch)
tree305f67787bf3293cfba788f0554a0318accf5cf9 /mrblib
parenta1731254bee12c831ea1d509bf43520db1d0d9af (diff)
downloadmruby-eec00ccf6074cfe5d5b7357180b58282d0dd8c66.tar.gz
mruby-eec00ccf6074cfe5d5b7357180b58282d0dd8c66.zip
delete duplicate definition of Exception.exception
It overwrote the original definition in src/error.c, line 446.
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/error.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/mrblib/error.rb b/mrblib/error.rb
index d76dd9c56..2674af7a2 100644
--- a/mrblib/error.rb
+++ b/mrblib/error.rb
@@ -1,18 +1,3 @@
-##
-# Exception
-#
-# ISO 15.2.22
-class Exception
-
- ##
- # Raise an exception.
- #
- # ISO 15.2.22.4.1
- def self.exception(*args, &block)
- self.new(*args, &block)
- end
-end
-
# ISO 15.2.24
class ArgumentError < StandardError
end