s">
<span data-anchor-id="calling-methods">
Calling methods
</span></h2>
<p>Ruby has a few different ways to call methods that are reflected in the
various Swift methods here and their types.  The degrees of freedom are:</p>
<ol>
<li>Call method by name or by symbol;</li>
<li>Pass positional and/or keyword arguments;</li>
<li>Optionally pass a block that can be expressed as a Swift function or
a Ruby Proc.</li>
<li>Method can either raise an exception or return a value.</li>
</ol>
<p>From the simple:</p>
<p