diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2020-10-14 23:26:18 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2020-10-14 23:26:18 +0100 |
commit | 9d6e2e7fba5b03f96da3f04658a433ca79d103a2 (patch) | |
tree | 792533cb50b70af1c1644a19b41fcb9e0c9a829f | |
parent | 835c42816fd07d5a110b12f8eb089cf25569f6b6 (diff) | |
download | swig-9d6e2e7fba5b03f96da3f04658a433ca79d103a2.tar.gz |
Ruby rst doc conversion corrections
-rw-r--r-- | SphinxDocs/source/Manual/Ruby.rst | 8 |
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' |