diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-05-03 17:51:02 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-05-03 17:51:02 +0800 |
| commit | 04f74c9cc1fa409acc68ee79b0f8a1a0e7c59a9b (patch) | |
| tree | 960fffe2453f56c0a394a5997e493819d28ffff6 | |
| parent | ac2197549450b115a27cdb35a68f98667581ac18 (diff) | |
| download | mruby-04f74c9cc1fa409acc68ee79b0f8a1a0e7c59a9b.tar.gz mruby-04f74c9cc1fa409acc68ee79b0f8a1a0e7c59a9b.zip | |
Add documentation to Exception
| -rw-r--r-- | mrblib/error.rb | 11 |
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 |
