summaryrefslogtreecommitdiffhomepage
path: root/mrblib/error.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-05-03 05:38:35 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-05-03 05:38:35 -0700
commit050cb3d70ec6bad9e1366cd69ed7273397b5b840 (patch)
tree960fffe2453f56c0a394a5997e493819d28ffff6 /mrblib/error.rb
parent1032e9eecc579cf3462b94ded98b40cdcb385a59 (diff)
parent04f74c9cc1fa409acc68ee79b0f8a1a0e7c59a9b (diff)
downloadmruby-050cb3d70ec6bad9e1366cd69ed7273397b5b840.tar.gz
mruby-050cb3d70ec6bad9e1366cd69ed7273397b5b840.zip
Merge pull request #92 from bovi/master
Add documentation
Diffstat (limited to 'mrblib/error.rb')
-rw-r--r--mrblib/error.rb11
1 files 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