summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2020-10-14 23:26:18 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2020-10-14 23:26:18 +0100
commit9d6e2e7fba5b03f96da3f04658a433ca79d103a2 (patch)
tree792533cb50b70af1c1644a19b41fcb9e0c9a829f
parent835c42816fd07d5a110b12f8eb089cf25569f6b6 (diff)
downloadswig-9d6e2e7fba5b03f96da3f04658a433ca79d103a2.tar.gz
Ruby rst doc conversion corrections
-rw-r--r--SphinxDocs/source/Manual/Ruby.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/SphinxDocs/source/Manual/Ruby.rst b/SphinxDocs/source/Manual/Ruby.rst
index c51d13151..32c0f710c 100644
--- a/SphinxDocs/source/Manual/Ruby.rst
+++ b/SphinxDocs/source/Manual/Ruby.rst
@@ -2140,10 +2140,8 @@ exceptions:
*
- SWIG_UnknownError
- rb_eRuntimeError
- *
- - \* These error classes are created by SWIG and are not built-in Ruby
- exception_classes
- -
+
+\* These error classes are created by SWIG and are not built-in Ruby exception_classes
The second way to raise errors is to use
``SWIG_Raise(obj, type, desc)``. Obj is a C++ instance of an exception
@@ -4948,7 +4946,7 @@ When we use these objects in IRB we see:
.. container:: code targetlang
- .. code:: targetlang
+ ::
$irb
irb(main):002:0> require 'example'