Merge pull request #2919 from cremno/delete-duplicate-definition-of-exception-exception

delete duplicate definition of Exception.exception
This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-08-18 04:08:42 +09:00
-15
View File
@@ -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