summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-08-18 04:08:42 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-08-18 04:08:42 +0900
commit15f2787033f3a703091815643e191b37c75d1361 (patch)
tree305f67787bf3293cfba788f0554a0318accf5cf9
parenta1731254bee12c831ea1d509bf43520db1d0d9af (diff)
parenteec00ccf6074cfe5d5b7357180b58282d0dd8c66 (diff)
downloadmruby-15f2787033f3a703091815643e191b37c75d1361.tar.gz
mruby-15f2787033f3a703091815643e191b37c75d1361.zip
Merge pull request #2919 from cremno/delete-duplicate-definition-of-exception-exception
delete duplicate definition of Exception.exception
-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