Skip to content

Commit

Permalink
Merge pull request #2919 from cremno/delete-duplicate-definition-of-e…
Browse files Browse the repository at this point in the history
…xception-exception

delete duplicate definition of Exception.exception
  • Loading branch information
matz committed Aug 17, 2015
2 parents a173125 + eec00cc commit 15f2787
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions 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
Expand Down

0 comments on commit 15f2787

Please sign in to comment.