t does not throw, see <a href="../types/rbobjectaccess1.html?swift#failable"><code>failable</code></a>.</p>



            </div>
            <h5>Declaration</h5>
            <div class="j2-item-declaration">
              
  <div class="j2-swift">
    <div class="j2-callout-title" role="heading" aria-level="6">Swift</div>
    <pre><code class="language-swift">public func getClass(_ name: <a href="../extensions/string.html?swift">String</a>) throws -&gt; <a href="../types/rbobject13.html?swift">RbObject</a>