

<p>
<li>When a instance of Ruby level wrapper class is garbage collected by the
Ruby interpreter, the corresponding C++ destructor is automatically invoked.

<p>
<li>Static member variables are wrapped as Ruby class accessor methods.
For example:

<blockquote>
<pre>
n = Shape.nshapes     # Get a static data member
Shapes.nshapes = 13   # Set a static data member
</pre>
</blockquote>

</ul>

<h2>General Comments</h2>

<ul>
<li>Ruby module of SWIG differs from other language modules in wrapping C++
interfac