From 04f74c9cc1fa409acc68ee79b0f8a1a0e7c59a9b Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Date: Thu, 3 May 2012 17:51:02 +0800 Subject: Add documentation to Exception --- mrblib/error.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mrblib/error.rb b/mrblib/error.rb index 88da1825c..5660d8235 100644 --- a/mrblib/error.rb +++ b/mrblib/error.rb @@ -1,8 +1,13 @@ +## +# Exception # -# Exception -# +# ISO 15.2.22 class Exception - # 15.2.22.4.1 + + ## + # Raise an exception. + # + # ISO 15.2.22.4.1 def self.exception(*args, &block) self.new(*args, &block) end -- cgit v1.2.3